Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct and unfudge test.
Routine.name is not fully qualified.
  • Loading branch information
jnthn committed Jul 9, 2015
1 parent c43e6a7 commit 2098c0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S04-blocks-and-statements/pointy.t
Expand Up @@ -54,9 +54,8 @@ my $str = '';

sub outer {
my $s = -> {
#?rakudo todo '&?ROUTINE'
#?niecza todo 'Unable to resolve method name in class Sub'
is(&?ROUTINE.name, '&Main::outer', 'pointy still sees outer\'s &?ROUTINE');
is(&?ROUTINE.name, 'outer', 'pointy still sees outer\'s &?ROUTINE');

$str ~= 'inner';
return 'inner ret';
Expand Down

0 comments on commit 2098c0c

Please sign in to comment.