mirror of
https://github.com/golang/go
synced 2024-11-21 16:44:43 -07:00
os: remove useless error check
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
2ab9218c86
commit
087cf95965
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user