Skip to content

Commit

Permalink
[v6.d REVIEW] Fix broken X::Method::NotFound test
Browse files Browse the repository at this point in the history
The original test does not cover the bug in the ticket.

Orig: 4bfd6d237
  • Loading branch information
zoffixznet committed Sep 22, 2018
1 parent 7a426fb commit 36fa02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-exceptions/misc.t
Expand Up @@ -504,7 +504,7 @@ throws-like 'sub foo(@array ($first, @rest)) { say @rest }; foo <1 2 3>;',
# RT #131492
{
throws-like q| my \foo = Callable but role :: { } |,
X::Method::NotFound,
X::Method::NotFound, :message{.so},
'X::Method::NotFound does not die with "X::Method::NotFound exception produced no message"';
}

Expand Down

0 comments on commit 36fa02e

Please sign in to comment.