diff --git a/S02-types/declare.t b/S02-types/declare.t index 45c54fbd09..1ee09d87da 100644 --- a/S02-types/declare.t +++ b/S02-types/declare.t @@ -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"; }