Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix faulty BagHash/MixHash.kv test
  • Loading branch information
lizmat committed Oct 4, 2015
1 parent 21a9ea0 commit 778d230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion S02-types/baghash.t
Expand Up @@ -125,7 +125,7 @@ sub showkv($x) {

{
my $a = (1,2,3,2,2,2,2).BagHash;
is $a.kv.sort({ .[0] }), ([1, 1], [2, 5], [3, 1]).list.sort, "BagHash.kv returns list of keys and values";
is $a.kv.sort, (1,1,1,2,3,5), "BagHash.kv returns list of keys and values";
}

{
Expand Down
2 changes: 1 addition & 1 deletion S02-types/mixhash.t
Expand Up @@ -126,7 +126,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]), "MixHash.kv returns list of keys and values";
is $a.kv.sort, (1,1,1,2,3,5), "MixHash.kv returns list of keys and values";
}

{
Expand Down

0 comments on commit 778d230

Please sign in to comment.