Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[t/spec] tests for map inside modules

git-svn-id: http://svn.pugscode.org/pugs@26820 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 9b100dfb5ce00da1ff37dc8f0d54a89410db1776 1 parent 5c1d81f
moritz authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 S10-packages/basic.t
View
8 S10-packages/basic.t
@@ -4,7 +4,7 @@ use v6;
use Test;
-plan 20;
+plan 21;
regex fairly_conclusive_platform_error {:i ^\N*<<Null?>>}
@@ -135,3 +135,9 @@ our $outer_package = 19;
ok ~$! !~~ /<fairly_conclusive_platform_error>/,
'another simple package case that should not blow platform';
}
+
+#?rakudo skip 'RT #64606'
+eval_lives_ok q' module MapTester { (1, 2, 3).map: { $_ } } ',
+ 'map works in a module (RT #64606)';
+
+# vim: ft=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.