Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added test for #100768
Because moritz++ told me to.
  • Loading branch information
Carl Masak committed Oct 5, 2011
1 parent 2f1dec0 commit fc78e0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S03-operators/arith.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 135;
plan 136;

my $five = abs(-5);

Expand Down Expand Up @@ -310,6 +310,9 @@ dies_ok( { $x := 0; say 3 div $x; }, 'Division by zero dies and is catchable wit
# RT #73386
eval_dies_ok '3 !+ 4', 'infix:<+> is not iffy enough';

# RT #100768
eval_lives_ok '-Inf', '-Inf warns (and yields 0) but does not give an error';

done;

# vim: ft=perl6

0 comments on commit fc78e0f

Please sign in to comment.