From 2053bb2fb111da9d98a006e92bbd000c146707af Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Sun, 13 Apr 2014 20:46:59 +0200 Subject: [PATCH] make MixHash.kv test more robust --- S02-types/mixhash.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S02-types/mixhash.t b/S02-types/mixhash.t index e814434202..6009a69ba5 100644 --- a/S02-types/mixhash.t +++ b/S02-types/mixhash.t @@ -123,7 +123,7 @@ sub showkv($x) { { my $a = (1,2,3,2,2,2,2).MixHash; - is $a.kv.sort({ .[0] }), ((1, 1), (2, 5), (3, 1)).list.sort, "MixHash.kv returns list of keys and values"; + is $a.kv.tree.sort({ .[0] }), ([1, 1], [2, 5], [3, 1]), "MixHash.kv returns list of keys and values"; }