add test to expect prefix without a directory object (#13865)

Motivation is to cover more areas
This commit is contained in:
Harshavardhana 2021-12-09 08:36:54 -08:00 committed by GitHub
parent 4be8023408
commit 239bbad7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,7 @@ func testListObjectsVersionedFolders(obj ObjectLayer, instanceType string, t1 Te
{testBuckets[0], "unique/", "", "/", 1000, resultCases[0], nil, true},
{testBuckets[0], "unique/folder", "", "/", 1000, resultCases[0], nil, true},
{testBuckets[0], "unique/", "", "", 1000, resultCases[1], nil, true},
{testBuckets[1], "unique/", "", "/", 1000, resultCases[0], nil, true},
{testBuckets[1], "unique/folder/", "", "/", 1000, resultCases[2], nil, true},
}