Skip to content

Commit 2431591

Browse files
committed
make sure unicode ellipis works for sequence op
1 parent bf697de commit 2431591

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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 130;
6+
plan 132;
77

88
# single-term sequence
99

@@ -261,6 +261,9 @@ is ((1,1,2,4,8)[^4], *+*+*+* ... *)[4], 8, 'WhateverCode with arity > 3 gets eno
261261
is (-5 ... ^5), <-5 -4 -3 -2 -1 0 1 2 3 4>, "RT #75674";
262262
}
263263

264+
is (110), 1..10, 'Unicode ellipsis works';
265+
is (1^ 10), 1..^10, 'Unicode ellipsis works excluding final value';
266+
264267
done;
265268

266269
# vim: ft=perl6

0 commit comments

Comments
 (0)