Permalink
Browse files

[t/spec] fudged scoped-named-subs.t for Rakudo

git-svn-id: http://svn.pugscode.org/pugs@25885 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 498a5d4 commit 39a7b5993a7721c593a04a1afe9ea069e2a98a90 moritz committed Mar 18, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 S06-routine-modifiers/scoped-named-subs.t
@@ -9,13 +9,15 @@ plan 8;
my Str sub myNamedStr() { return 'string' };
is myNamedStr(), 'string', 'lexical named sub() return Str';
}
+#?rakudo todo 'lexical subs'
is eval('myNamedStr()'), '', 'Correct : lexical named sub myNamedStr() should NOT BE available outside its scope';
{
my Int sub myNamedInt() { return 55 };
is myNamedInt(), 55, 'lexical named sub() return Int';
}
-eval_dies_ok('myNamedInt()'), 'Correct : lexical named sub myNamedInt() should NOT BE available outside its scope';
+#?rakudo todo 'lexical subs'
+eval_dies_ok('myNamedInt()', 'Correct : lexical named sub myNamedInt() should NOT BE available outside its scope');
#packge-scoped named subs

0 comments on commit 39a7b59

Please sign in to comment.