mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
Remove uneeded calls on FS (#7967)
This commit is contained in:
committed by
Nitish Tiwari
parent
5b71c21330
commit
ac82798d0a
@@ -548,18 +548,6 @@ func TestFSRemoveMeta(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestFSIsDir(t *testing.T) {
|
||||
dirPath, err := ioutil.TempDir(globalTestTmpDir, "minio-")
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to create tmp directory %s", err)
|
||||
}
|
||||
defer os.RemoveAll(dirPath)
|
||||
|
||||
if !fsIsDir(context.Background(), dirPath) {
|
||||
t.Fatalf("Expected %s to be a directory", dirPath)
|
||||
}
|
||||
}
|
||||
|
||||
func TestFSIsFile(t *testing.T) {
|
||||
dirPath, err := ioutil.TempDir(globalTestTmpDir, "minio-")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user