Skip to content

Commit 042da08

Browse files
author
Tadeusz Sośnierz
committed
Moved the test for #73268 to the right file, moritz++ tadzik--
1 parent d1d07a3 commit 042da08

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

S03-operators/range-int.t

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use v6;
22
use Test;
3-
plan 481;
3+
plan 480;
44

55
is ~(-17..-19), '', '-17..-19';
66
is ~(-17..^-19), '', '-17..^-19';
@@ -482,8 +482,6 @@ is ~(17..Inf).list.munch(20), '17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3
482482
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';
483483
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';
484484
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';
485-
# RT #73268
486-
is ~(1...^*).munch(10), '1 2 3 4 5 6 7 8 9 10', 'RT #73268';
487485

488486
done;
489487
# # vim: ft=perl6

S03-sequence/basic.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use Test;
33

44
# L<S03/List infix precedence/"the sequence operator">
55

6-
plan 123;
6+
plan 124;
77

88
# single-term sequence
99

@@ -236,6 +236,9 @@ is (32,16,8 ...^ Rat), (32,16,8) , 'stop on a matching type';
236236
# RT #75828
237237
eval_dies_ok '1, 2, 3, ... 5', 'comma before sequence operator is caught';
238238

239+
# RT #73268
240+
is ~(1...^*).munch(10), '1 2 3 4 5 6 7 8 9 10', 'RT #73268';
241+
239242
done;
240243

241244
# vim: ft=perl6

0 commit comments

Comments
 (0)