Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge some tests for RT #124559
  • Loading branch information
usev6 committed Jul 9, 2015
1 parent cf0d490 commit 0aa3fde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S02-literals/numeric.t
Expand Up @@ -17,7 +17,6 @@ is_approx <1/2>, 0.5, '<1/2> Rat literal';
isa-ok <1/2>, Rat, '<1/2> produces a Rat';
ok <1/2> ~~ Numeric, '<1/2> is Numeric';
ok <1/2> ~~ Real, '<1/2> is Real';
#?rakudo.jvm skip 'aborts nqp-j RT #124559'
isa-ok <0x01/0x02>, Rat, 'same with hexadecimal numbers';

ok <1/-3>.WHAT === Str, 'negative allowed only on numerator';
Expand All @@ -26,7 +25,7 @@ ok <-1/-3>.WHAT === Str, 'negative allowed only on numerator';
isa-ok <-1/3>, Rat, 'negative Rat literal';
ok <-1/3> * -3 == 1, 'negative Rat literal';

#?rakudo.jvm 3 skip 'aborts nqp-j RT #124560'
#?rakudo.jvm todo 'fails with "Attempt to divide by zero using div" on JVM RT #124559'
ok <0x01/0x03> / (0x01/0x03) == 1, 'Rat works with hexadecimal numbers';
ok <:13<01>/:13<07>> / (1/7) == 1, 'Rat works with colon radix numbers';
ok <:12<1a>/:12<7b>> / (:12<1a> / :12<7b>) == 1, 'Rat works with colon radix numbers';
Expand Down

0 comments on commit 0aa3fde

Please sign in to comment.