Skip to content

Commit 586d2c2

Browse files
committed
fix tests Dict ordering dependence
1 parent 5df4174 commit 586d2c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/GroupsTests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ gnest = BenchmarkGroup(["1"],
216216
10 => BenchmarkGroup(["3"]),
217217
11 => BenchmarkGroup()))
218218

219-
@test leaves(gnest) == [([7],8), ([4,5],6), (["2",1],1), (["a", (11, "b")], :b), (["a","a"], :a)]
219+
@test sort(leaves(gnest), by=string) ==
220+
Any[(Any["2",1],1), (Any["a","a"],:a), (Any["a",(11,"b")],:b), (Any[4,5],6), (Any[7],8)]
220221

221222
@test gnest[@tagged 11 || 10] == BenchmarkGroup(["1"],
222223
"a" => BenchmarkGroup(["3"],

0 commit comments

Comments
 (0)