We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d9189 commit 0edbecbCopy full SHA for 0edbecb
S02-types/sethash.t
@@ -446,9 +446,9 @@ subtest '.hash does not cause keys to be stringified' => {
446
447
{ # coverage; 2016-09-18
448
my $sh = SetHash.new: <a b b c c c>;
449
- is-deeply $sh.antipairs,
450
- (Bool::True => "a", Bool::True => "c", Bool::True => "b"),
451
- '.antipairs produces correct result';
+ is-deeply $sh.antipairs.sort(*.value),
+ (Bool::True => "a", Bool::True => "c", Bool::True => "b").sort(*.value),
+ '.antipairs produces correct result';
452
453
is-deeply $sh.SetHash, $sh, '.SetHash returns self';
454
}
0 commit comments