From 095cdb0c7fd76c4b523c36455575c4022fc0195c Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Wed, 12 Apr 2023 12:08:13 +0500 Subject: [PATCH] fix test prefix is a directory (#4393) Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> --- weed/s3api/s3api_objects_list_handlers_test.go | 4 ++-- 1 file 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",