Permalink
Browse files

[range.t] add test for RT #82620 (range exposing Parrot types)

  • Loading branch information...
1 parent 1888ab6 commit b2c776055a122d30c581f7add3116a272aa08173 @felliott felliott committed Jan 22, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 S03-operators/range.t
View
@@ -219,4 +219,11 @@ is (1..6 Z 'a' .. 'c').join, '1a2b3c', 'Ranges and infix:<Z>';
isa_ok (1..$_), Range, '(..) works on Int .. Any';
}
+# RT #82620
+#rakudo skip 'range leaking Parrot types'
+{
+ lives_ok {("a".."b").map({.trans(""=>"")}).perl},
+ "range doesn't leak Parrot types";
+}
+
# # vim: ft=perl6

0 comments on commit b2c7760

Please sign in to comment.