mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
os: remove useless error check
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
2ab9218c86
commit
087cf95965
1 changed files with 0 additions and 3 deletions
|
@ -81,9 +81,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