From 239bbad7abcd444eecd00daef9975f0106797e0f Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 9 Dec 2021 08:36:54 -0800 Subject: [PATCH] add test to expect prefix without a directory object (#13865) Motivation is to cover more areas --- cmd/object-api-listobjects_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/object-api-listobjects_test.go b/cmd/object-api-listobjects_test.go index e342082e6..1e471efea 100644 --- a/cmd/object-api-listobjects_test.go +++ b/cmd/object-api-listobjects_test.go @@ -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}, }