Skip to content
Browse files

[t/spec] test for RT #76226, all-whitespace range

git-svn-id: http://svn.pugscode.org/pugs@31486 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 19422e1 commit 3da5e463fcfb60ef894257eb7be347f16fa9758f moritz committed Jun 28, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 S03-operators/range.t
View
4 S03-operators/range.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 113;
+plan 114;
# L<S03/Nonchaining binary precedence/Range object constructor>
@@ -27,6 +27,8 @@ is ~('z'..'Y'), '', '(..) works on auto-rev uppercase letter .. lowercase let
is ~('Y'..'_'), 'Y Z', '(..) works on letter .. non-letter (1)';
is ~('_'..'Y'), '', '(..) works on auto-rev letter .. non-letter (2)';
+is ~(' '..' '), ' ', 'all-whitespace range works';
+
is ~(3..9-3), "3 4 5 6", "(..) has correct precedence (1)";
is ~(5..9-5), "", "(..) has correct precedence (2)";
is ~(2+1..6), "3 4 5 6", "(..) has correct precedence (3)";

0 comments on commit 3da5e46

Please sign in to comment.
Something went wrong with that request. Please try again.