Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDirFS (0.13 sec)

  1. src/os/os_test.go

    			t.Log(err) // We only log, not die, in case the test directory is not writable.
    		}
    		return nil
    	}); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestDirFS(t *testing.T) {
    	t.Parallel()
    
    	forceMFTUpdateOnWindows(t, "./testdata/dirfs")
    
    	fsys := DirFS("./testdata/dirfs")
    	if err := fstest.TestFS(fsys, "a", "b", "dir/x"); err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top