diff --git a/S32-num/fatrat.t b/S32-num/fatrat.t index 8abf99683f..b8abc51a0a 100644 --- a/S32-num/fatrat.t +++ b/S32-num/fatrat.t @@ -2,7 +2,7 @@ use v6; use Test; -plan 285; +plan 286; # Basic test functions specific to FatRats. @@ -302,4 +302,8 @@ subtest '=== with 0-denominator FatRats' => { is-deeply <-2/0>F === <-5/2>F, False, '-2/0 === -5/2'; } +# RT#130427 +cmp-ok FatRat.Range, '===', -∞..∞, + 'FatRat.Range is from -inf to inf, including end points'; + # vim: ft=perl6 diff --git a/S32-num/rat.t b/S32-num/rat.t index d3d0849287..f39063aac7 100644 --- a/S32-num/rat.t +++ b/S32-num/rat.t @@ -312,8 +312,8 @@ subtest '0.9999999999999999999999 to string conversions' => { } # RT#130427 -cmp-ok Rat.Range, '===', -∞^..^∞, - 'Rat.Range is from -inf to inf, excluding end points'; +cmp-ok Rat.Range, '===', -∞..∞, + 'Rat.Range is from -inf to inf, including end points'; subtest '== with 0-denominator Rats' => { plan 18;