1
0
mirror of https://github.com/golang/go synced 2024-11-21 16:24:40 -07:00

os: remove useless error check

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-03-12 15:27:55 +08:00
parent 2ab9218c86
commit 087cf95965

View File

@ -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)