mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
os: remove useless error check
Change-Id: Ifeb5fecc6e28b79ac03e7dc2ce9531fe5eed3097
GitHub-Last-Rev: 087cf95965
GitHub-Pull-Request: golang/go#66260
Reviewed-on: https://go-review.googlesource.com/c/go/+/570895
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
bb07e55aff
commit
d826bf4d74
1 changed files with 0 additions and 3 deletions
|
@ -64,9 +64,6 @@ func TestSameWindowsFile(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
p := filepath.VolumeName(path) + filepath.Base(path)
|
p := filepath.VolumeName(path) + filepath.Base(path)
|
||||||
if err != nil {
|
|
||||||
t.Fatal(err)
|
|
||||||
}
|
|
||||||
ia3, err := os.Stat(p)
|
ia3, err := os.Stat(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue