diff --git a/src/os/os_windows_test.go b/src/os/os_windows_test.go index 956ab07f51b..87fdc1123ed 100644 --- a/src/os/os_windows_test.go +++ b/src/os/os_windows_test.go @@ -81,9 +81,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)