@@ -538,7 +538,7 @@ function run_list_test_cases(config::AbstractConfig)
538
538
@test nbytes_written == i
539
539
end
540
540
541
- entries = list_objects (" list" , config)
541
+ entries = list_objects (" list/ " , config)
542
542
@test length (entries) == 5
543
543
@test map (x -> x. size, entries) == range (10 ; step= 10 , length= 5 )
544
544
@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)
555
555
@test nbytes_written == i
556
556
end
557
557
558
- entries = list_objects (" other" , config)
558
+ entries = list_objects (" other/ " , config)
559
559
@test length (entries) == 10
560
560
561
- entries = list_objects (" other/prefix" , config)
561
+ entries = list_objects (" other/prefix/ " , config)
562
562
@test length (entries) == 5
563
563
@test map (x -> x. size, entries) == range (110 ; step= 10 , length= 5 )
564
564
@test map (x -> x. location, entries) ==
565
565
[" other/prefix/110.csv" , " other/prefix/120.csv" , " other/prefix/130.csv" , " other/prefix/140.csv" , " other/prefix/150.csv" ]
566
566
567
- entries = list_objects (" other/nonexistent" , config)
567
+ entries = list_objects (" other/nonexistent/ " , config)
568
568
@test length (entries) == 0
569
569
570
- entries = list_objects (" other/p" , config)
570
+ entries = list_objects (" other/p/ " , config)
571
571
@test length (entries) == 0
572
572
end
573
573
@@ -577,7 +577,7 @@ function run_list_test_cases(config::AbstractConfig)
577
577
@test nbytes_written == 0
578
578
end
579
579
580
- entries = list_objects (" list_empty" , config)
580
+ entries = list_objects (" list_empty/ " , config)
581
581
@test length (entries) == 3
582
582
@test map (x -> x. size, entries) == [0 , 0 , 0 ]
583
583
@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)
590
590
@test nbytes_written == i
591
591
end
592
592
593
- stream = list_objects_stream (" list" , config)
593
+ stream = list_objects_stream (" list/ " , config)
594
594
595
595
entries = next_chunk! (stream)
596
596
@test length (entries) == max_entries_per_chunk ()
@@ -613,7 +613,7 @@ function run_list_test_cases(config::AbstractConfig)
613
613
@test nbytes_written == i
614
614
end
615
615
616
- stream = list_objects_stream (" list" , config)
616
+ stream = list_objects_stream (" list/ " , config)
617
617
618
618
entries = next_chunk! (stream)
619
619
@test length (entries) == max_entries_per_chunk ()
@@ -633,7 +633,7 @@ function run_list_test_cases(config::AbstractConfig)
633
633
@test nbytes_written == i
634
634
end
635
635
636
- stream = list_objects_stream (" offset" , config; offset= key (data[50 ]))
636
+ stream = list_objects_stream (" offset/ " , config; offset= key (data[50 ]))
637
637
638
638
entries = next_chunk! (stream)
639
639
@test length (entries) == 51
0 commit comments