Skip to content

Commit

Permalink
Make test less specific
Browse files Browse the repository at this point in the history
Otherwise rakudo/rakudo#5213 will cause
a failed test.
  • Loading branch information
lizmat committed Feb 23, 2023
1 parent 504f026 commit c704932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S03-operators/context.t
Expand Up @@ -83,7 +83,7 @@ plan 38;
throws-like '"@{$array}"', X::Obsolete, 'Perl form of "@{$array}" dies';

my $hash = {a => 1, b => 2, c => 3};
throws-like '%{$hash}', X::Hash::Store::OddNumber, 'Let rare Perl form of %{$hash} fail for other reasons';
dies-ok { %{$hash} }, 'Let rare Perl form of %{$hash} fail for other reasons';
}

is(($).WHAT.gist, '(Any)', 'Anonymous $ variable can be declared');
Expand Down

0 comments on commit c704932

Please sign in to comment.