mirror of
https://github.com/minio/minio.git
synced 2025-11-23 19:17:43 -05:00
committed by
Harshavardhana
parent
43539a0c86
commit
d267696110
@@ -417,7 +417,7 @@ func testGetDirectoryReturnsObjectNotFound(c *check.C, create func() ObjectLayer
|
||||
|
||||
_, err = obj.GetObject("bucket", "dir1/", 0)
|
||||
switch err := err.(type) {
|
||||
case ObjectNotFound:
|
||||
case ObjectNameInvalid:
|
||||
c.Assert(err.Bucket, check.Equals, "bucket")
|
||||
c.Assert(err.Object, check.Equals, "dir1/")
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user