Skip to content

Commit

Permalink
Add test for RT #73268
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Feb 20, 2011
1 parent e45259a commit d1d07a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S03-operators/range-int.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 480;
plan 481;

is ~(-17..-19), '', '-17..-19';
is ~(-17..^-19), '', '-17..^-19';
Expand Down Expand Up @@ -482,6 +482,8 @@ is ~(17..Inf).list.munch(20), '17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3
is ~(17..^Inf).list.munch(20), '17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36', '17..^Inf';
is ~(17^..Inf).list.munch(20), '18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37', '17^..Inf';
is ~(17^..^Inf).list.munch(20), '18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37', '17^..^Inf';
# RT #73268
is ~(1...^*).munch(10), '1 2 3 4 5 6 7 8 9 10', 'RT #73268';

done;
# # vim: ft=perl6

0 comments on commit d1d07a3

Please sign in to comment.