Permalink
Browse files

[t/spec] Fudge for ng1.

git-svn-id: http://svn.pugscode.org/pugs@29616 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 547e344 commit 3d8ce316f2849b26d46d63c3c0f78178e648509b colomon committed Feb 2, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 S06-routine-modifiers/scoped-named-subs.t
@@ -9,6 +9,8 @@ plan 12;
my Str sub myNamedStr() { return 'string' };
is myNamedStr(), 'string', 'lexical named sub() return Str';
}
+
+#?rakudo todo 'Broken in ng1'
is eval('myNamedStr()'), '', 'Correct : lexical named sub myNamedStr() should NOT BE available outside its scope';
{

0 comments on commit 3d8ce31

Please sign in to comment.