Skip to content

Commit

Permalink
Fix error testing because message got more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat authored and jdv committed Feb 29, 2024
1 parent ab2981a commit 155905b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S02-types/declare.t
Expand Up @@ -113,7 +113,7 @@ plan 70;
#?rakudo.jvm todo "RT #126526"
{
throws-like { my int $namcu; $namcu = 2**100 }, Exception,
message => 'Cannot unbox 101 bit wide bigint into native integer',
message => / 'Cannot unbox 101 bit wide bigint into native integer' /,
"Assign big bigint to native won't overflow silently";
}

Expand Down

0 comments on commit 155905b

Please sign in to comment.