Skip to content

Commit d826bf4

Browse files
testwillgopherbot
authored andcommitted
os: remove useless error check
Change-Id: Ifeb5fecc6e28b79ac03e7dc2ce9531fe5eed3097 GitHub-Last-Rev: 087cf95 GitHub-Pull-Request: #66260 Reviewed-on: https://go-review.googlesource.com/c/go/+/570895 Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Sean Liao <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Florian Lehner <[email protected]> Reviewed-by: Rob Pike <[email protected]>
1 parent bb07e55 commit d826bf4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/os/os_windows_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ func TestSameWindowsFile(t *testing.T) {
6464
}
6565

6666
p := filepath.VolumeName(path) + filepath.Base(path)
67-
if err != nil {
68-
t.Fatal(err)
69-
}
7067
ia3, err := os.Stat(p)
7168
if err != nil {
7269
t.Fatal(err)

0 commit comments

Comments
 (0)