Permalink
Browse files

[t/spec] test for RT #64458, masak++

git-svn-id: http://svn.pugscode.org/pugs@26085 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent a472bc6 commit f434b25e6415184d9874de37a93b2081b66ed500 moritz committed Apr 4, 2009
Showing with 8 additions and 1 deletion.
  1. +8 −1 S02-builtin_data_types/range.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 89;
+plan 90;
# basic Range
# L<S02/Immutable types/A pair of Ordered endpoints; gens immutables when iterated>
@@ -49,6 +49,13 @@ is ('a'..'a'), [< a >], 'got the right array';
ok ('d'^..^'a') !~~ 'c', "decreasing str range is empty";
}
+{
+ my $x = 0;
+ $x++ for (1..4).reverse;
+ #?rakudo todo 'RT #64458'
+ is $x, 4, '(1..4).reverse still turns into a list of four items';
+}
+
# ACCEPTS and equals tests
{
my $r = 1..5;

0 comments on commit f434b25

Please sign in to comment.