Skip to content

Commit

Permalink
Inf.Range returns ^Inf..Inf
Browse files Browse the repository at this point in the history
RT#126990
  • Loading branch information
zoffixznet committed Jul 11, 2016
1 parent e0146de commit b38fe5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S02-types/range.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 183;
plan 184;

# basic Range
# L<S02/Immutable types/A pair of Ordered endpoints>
Expand Down Expand Up @@ -361,4 +361,7 @@ lives-ok({"\0".."~"}, "low ascii range completes");
dies-ok { ^Inf .minmax }, "cannot have exclusions for minmax otherwise";
}

# RT #126990
is-deeply Int.Range, -Inf^..^Inf, 'Int.range is -Inf^..^Inf';

# vim:set ft=perl6

0 comments on commit b38fe5e

Please sign in to comment.