Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestReadDir (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/os-readdir_test.go

    }
    
    // teardown - cleans up test directories.
    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    func TestReadDir(t *testing.T) {
    	var testResults []result
    
    	// Setup and capture test results for empty directory.
    	testResults = append(testResults, setupTestReadDirEmpty(t)...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top