Skip to content

Commit dd58fb5

Browse files
committed
Fix list test to account for zero length padding
1 parent c9f72d6 commit dd58fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/basic_unified_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ function run_list_test_cases(config::AbstractConfig; strict_entry_size=true)
589589

590590
entries = list_objects("list_empty/", config)
591591
@test length(entries) == 3
592-
@test map(x -> x.size, entries) == [0, 0, 0]
592+
@test within_margin(sort(map(x -> x.size, entries)), [0, 0, 0], margin)
593593
@test map(x -> x.location, entries) == ["list_empty/10.csv", "list_empty/20.csv", "list_empty/30.csv"]
594594
end
595595

0 commit comments

Comments
 (0)