- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tempDirCanonical (0.17 sec)
-
src/path/filepath/path_windows_test.go
if err != nil { t.Fatalf("Remove test command failed: %v", err) } } } } func TestWindowsEvalSymlinks(t *testing.T) { testenv.MustHaveSymlink(t) tmpDir := tempDirCanonical(t) if len(tmpDir) < 3 { t.Fatalf("tmpDir path %q is too short", tmpDir) } if tmpDir[1] != ':' { t.Fatalf("tmpDir path %q must have drive letter in it", tmpDir) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:38:54 UTC 2024 - 19.6K bytes - Viewed (0) -
src/path/filepath/match_test.go
} func TestWindowsGlob(t *testing.T) { if runtime.GOOS != "windows" { t.Skipf("skipping windows specific test") } tmpDir := tempDirCanonical(t) if len(tmpDir) < 3 { t.Fatalf("tmpDir path %q is too short", tmpDir) } if tmpDir[1] != ':' { t.Fatalf("tmpDir path %q must have drive letter in it", tmpDir) } dirs := []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 8.6K bytes - Viewed (0) -
src/path/filepath/path_test.go
} os.RemoveAll(d) } } // tempDirCanonical returns a temporary directory for the test to use, ensuring // that the returned path does not contain symlinks. func tempDirCanonical(t *testing.T) string { dir := t.TempDir() cdir, err := filepath.EvalSymlinks(dir) if err != nil { t.Errorf("tempDirCanonical: %v", err) } return cdir } func TestWalk(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0)