Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge tests for rakudo.jvm.
  • Loading branch information
colomon committed Jul 12, 2013
1 parent c02bce1 commit 9119a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S03-operators/arith.t
Expand Up @@ -295,10 +295,10 @@ All uses of a zero modulus or divisor should 'die', and the

my $x;

#?rakudo 2 todo 'modulo by zero'
#?rakudo.parrot 2 todo 'modulo by zero'
eval_dies_ok('say 3 % 0', 'Modulo zero dies and is catchable');
dies_ok( { $x = 0; say 3 % $x; }, 'Modulo zero dies and is catchable with VInt/VRat variables');
#?rakudo todo 'die or fail?'
#?rakudo.parrot todo 'die or fail?'
dies_ok( { $x := 0; say 3 % $x; }, 'Modulo zero dies and is catchable with VRef variables');

eval_dies_ok('say 3 div 0', 'Division by zero dies and is catchable');
Expand Down

0 comments on commit 9119a79

Please sign in to comment.