mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Remove go1.9 specific code for windows (#5033)
Following fix https://go-review.googlesource.com/#/c/41834/ has been merged upstream and released with go1.9.
This commit is contained in:
committed by
Nitish Tiwari
parent
ad53c5d859
commit
3d0dced23c
@@ -538,11 +538,11 @@ func TestFSRemoveMeta(t *testing.T) {
|
||||
t.Fatalf("Unable to remove file, %s", err)
|
||||
}
|
||||
|
||||
if _, err := osStat((filePath)); !os.IsNotExist(err) {
|
||||
if _, err := os.Stat((filePath)); !os.IsNotExist(err) {
|
||||
t.Fatalf("`%s` file found though it should have been deleted.", filePath)
|
||||
}
|
||||
|
||||
if _, err := osStat((path.Dir(filePath))); !os.IsNotExist(err) {
|
||||
if _, err := os.Stat((path.Dir(filePath))); !os.IsNotExist(err) {
|
||||
t.Fatalf("`%s` parent directory found though it should have been deleted.", filePath)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user