Skip to content

Commit

Permalink
fix rakudo fudging of lvalue-subroutines.t
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 5, 2012
1 parent 8ce3751 commit 66b3e5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S06-routine-modifiers/lvalue-subroutines.t
Expand Up @@ -83,9 +83,11 @@ dies_ok {checklastval("octopus") = 10 }, 'checklastval STORE can die';

# Above test may well die for the wrong reason, if the Proxy stuff didn't
# parse OK, it will complain that it couldn't find the desired subroutine
#?rakudo 3 skip 'maximum recursion depth exceeded'
#?rakudo skip 'maximum recursion depth exceeded'
is((try { checklastval("fish") = 12 }), 12, 'proxy lvalue subroutine STORE works');
#?rakudo emit #
my $resultval = checklastval("fish");
#?rakudo skip 'maximum recursion depth exceeded'
is($resultval, 12, 'proxy lvalue subroutine FETCH works');

my $realvar = "foo";
Expand Down

0 comments on commit 66b3e5c

Please sign in to comment.