Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge tests for JVM RT #126673, psch++
  • Loading branch information
usev6 committed Nov 21, 2015
1 parent 0dd18f4 commit e2174a8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion S03-operators/arith.t
Expand Up @@ -308,7 +308,6 @@ All uses of a zero modulus or divisor should 'die', and the
throws-like { my $x := 0; 3 mod $x }, X::Numeric::DivideByZero,
'Modulo zero with infix:<mod> dies and is catchable with VRef variables';

#?rakudo.jvm 3 skip 'RT #126673'
throws-like { say 3 % 0 }, X::Numeric::DivideByZero,
# expectedn => Int,
# gotn => Failure,
Expand Down
1 change: 0 additions & 1 deletion S04-exceptions/fail.t
Expand Up @@ -36,7 +36,6 @@ given (Failure.new()) {
}

# RT #64990
#?rakudo.jvm skip 'RT #126673'
{
our Int sub rt64990 { fail() }
ok rt64990() ~~ Failure, 'sub typed Int can fail()';
Expand Down
2 changes: 0 additions & 2 deletions S06-advanced/return.t
Expand Up @@ -398,10 +398,8 @@ is Foo::official(), 44,
sub return-Int ($x --> Int) { $x }
is return-Int(42), 42, "Can return 42 through Int typecheck";
is return-Int(Nil), Nil, "Can return Nil through Int typecheck";
#?rakudo.jvm skip 'RT #126673'
ok return-Int(Failure.new) ~~ Failure, "Can return Failure through Int typecheck";
dies-ok { return-Int(42.0) }, "Can't return 42.0 through Int typecheck";
#?rakudo.jvm todo 'code does not die'
dies-ok { return-Int(Cool) }, "Can't return Cool through Int typecheck";
}
# vim: ft=perl6

0 comments on commit e2174a8

Please sign in to comment.