Skip to content

Commit

Permalink
Test Rat literals with numerators over 32 bits work
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 11, 2017
1 parent e7962eb commit b610337
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-num/rat.t
Expand Up @@ -3,7 +3,7 @@ use lib <t/spec/packages>;
use Test;
use Test::Util;

plan 849;
plan 850;

# Basic test functions specific to rational numbers.

Expand Down Expand Up @@ -480,4 +480,7 @@ subtest 'custom parametarization of Rational' => {
throws-like { FakeRatII.new: 1e0, 1e0 }, E, '[Int, Int]; 2 Nums';
}

# RT # 126103
is-deeply <3147483648/1>.Int, 3147483648, 'numerators over 32 bits work';

# vim: ft=perl6

0 comments on commit b610337

Please sign in to comment.