Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDirFSRootDir (0.27 sec)

  1. src/os/os_test.go

    	}
    
    	// Test that Open does not open Windows device files.
    	_, err = d.Open(`NUL`)
    	if err == nil {
    		t.Errorf(`Open NUL succeeded`)
    	}
    }
    
    func TestDirFSRootDir(t *testing.T) {
    	t.Parallel()
    
    	cwd, err := Getwd()
    	if err != nil {
    		t.Fatal(err)
    	}
    	cwd = cwd[len(filepath.VolumeName(cwd)):] // trim volume prefix (C:) on Windows
    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