File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,8 @@ All uses of a zero modulus or divisor should 'die', and the
319
319
message => ' Divide by zero' ,
320
320
' Division by zero with infix:<div> dies and is catchable with VRef variables' ;
321
321
322
- throws_like { say 0 / 0 }, X::TypeCheck::Assignment ,
323
- message => q [ Type check failed in assignment to '$numerator' ; expected 'Int' but got 'Failure' ] ,
322
+ throws_like { say 0 / 0 }, X::TypeCheck::Binding ,
323
+ message => q [ Type check failed in binding ; expected 'Int' but got 'Failure' ] ,
324
324
' Division by zero with infix:</> dies and is catchable (1)' ;
325
325
throws_like { say 3 / 0 }, X::TypeCheck::Return ,
326
326
message => q [ Type check failed for return value; expected 'Int' but got 'Failure' ] ,
You can’t perform that action at this time.
0 commit comments