@@ -538,7 +538,7 @@ function run_list_test_cases(config::AbstractConfig)
538538 @test nbytes_written == i
539539 end
540540
541- entries = list_objects (" list" , config)
541+ entries = list_objects (" list/ " , config)
542542 @test length (entries) == 5
543543 @test map (x -> x. size, entries) == range (10 ; step= 10 , length= 5 )
544544 @test map (x -> x. location, entries) == [" list/10.csv" , " list/20.csv" , " list/30.csv" , " list/40.csv" , " list/50.csv" ]
@@ -555,19 +555,19 @@ function run_list_test_cases(config::AbstractConfig)
555555 @test nbytes_written == i
556556 end
557557
558- entries = list_objects (" other" , config)
558+ entries = list_objects (" other/ " , config)
559559 @test length (entries) == 10
560560
561- entries = list_objects (" other/prefix" , config)
561+ entries = list_objects (" other/prefix/ " , config)
562562 @test length (entries) == 5
563563 @test map (x -> x. size, entries) == range (110 ; step= 10 , length= 5 )
564564 @test map (x -> x. location, entries) ==
565565 [" other/prefix/110.csv" , " other/prefix/120.csv" , " other/prefix/130.csv" , " other/prefix/140.csv" , " other/prefix/150.csv" ]
566566
567- entries = list_objects (" other/nonexistent" , config)
567+ entries = list_objects (" other/nonexistent/ " , config)
568568 @test length (entries) == 0
569569
570- entries = list_objects (" other/p" , config)
570+ entries = list_objects (" other/p/ " , config)
571571 @test length (entries) == 0
572572 end
573573
@@ -577,7 +577,7 @@ function run_list_test_cases(config::AbstractConfig)
577577 @test nbytes_written == 0
578578 end
579579
580- entries = list_objects (" list_empty" , config)
580+ entries = list_objects (" list_empty/ " , config)
581581 @test length (entries) == 3
582582 @test map (x -> x. size, entries) == [0 , 0 , 0 ]
583583 @test map (x -> x. location, entries) == [" list_empty/10.csv" , " list_empty/20.csv" , " list_empty/30.csv" ]
@@ -590,7 +590,7 @@ function run_list_test_cases(config::AbstractConfig)
590590 @test nbytes_written == i
591591 end
592592
593- stream = list_objects_stream (" list" , config)
593+ stream = list_objects_stream (" list/ " , config)
594594
595595 entries = next_chunk! (stream)
596596 @test length (entries) == max_entries_per_chunk ()
@@ -613,7 +613,7 @@ function run_list_test_cases(config::AbstractConfig)
613613 @test nbytes_written == i
614614 end
615615
616- stream = list_objects_stream (" list" , config)
616+ stream = list_objects_stream (" list/ " , config)
617617
618618 entries = next_chunk! (stream)
619619 @test length (entries) == max_entries_per_chunk ()
@@ -633,7 +633,7 @@ function run_list_test_cases(config::AbstractConfig)
633633 @test nbytes_written == i
634634 end
635635
636- stream = list_objects_stream (" offset" , config; offset= key (data[50 ]))
636+ stream = list_objects_stream (" offset/ " , config; offset= key (data[50 ]))
637637
638638 entries = next_chunk! (stream)
639639 @test length (entries) == 51
0 commit comments