diff --git a/src/os/os_windows_test.go b/src/os/os_windows_test.go index 89a61f0229..515d1c1359 100644 --- a/src/os/os_windows_test.go +++ b/src/os/os_windows_test.go @@ -64,9 +64,6 @@ func TestSameWindowsFile(t *testing.T) { } p := filepath.VolumeName(path) + filepath.Base(path) - if err != nil { - t.Fatal(err) - } ia3, err := os.Stat(p) if err != nil { t.Fatal(err)