aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-04-12 12:08:13 +0500
committerGitHub <noreply@github.com>2023-04-12 00:08:13 -0700
commit095cdb0c7fd76c4b523c36455575c4022fc0195c (patch)
treed8d7b48d438e6626b9257141f7578168f373751c
parent44ad07276c719328d1f11aa06d1fca48ce9ddcba (diff)
downloadseaweedfs-095cdb0c7fd76c4b523c36455575c4022fc0195c.tar.xz
seaweedfs-095cdb0c7fd76c4b523c36455575c4022fc0195c.zip
fix test prefix is a directory (#4393)
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
-rw-r--r--weed/s3api/s3api_objects_list_handlers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/s3api/s3api_objects_list_handlers_test.go b/weed/s3api/s3api_objects_list_handlers_test.go
index 585aa40b1..6974c5567 100644
--- a/weed/s3api/s3api_objects_list_handlers_test.go
+++ b/weed/s3api/s3api_objects_list_handlers_test.go
@@ -54,8 +54,8 @@ func Test_normalizePrefixMarker(t *testing.T) {
{"prefix is a directory",
args{"/parentDir/data/",
""},
- "parentDir/data",
- "",
+ "parentDir",
+ "data",
"",
},
{"normal case",