Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[t] Correct and uncomment a test.
  • Loading branch information
jnthn committed Nov 19, 2010
1 parent 58a09a6 commit 0210b86
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions t/nqp/11-subs.t
Expand Up @@ -28,13 +28,12 @@ four_five('ok 4 # passed in 1 arg');
four_five('ok 5 # calling sub in outer scope');
}

say("ok 6 #SKIP -- no 'our'-scoped subs yet");
#{
# our sub six ( ) {
# say("ok 6 # def in inner scope, called from outer scope");
# }
#}
#six();
{
our sub six ( ) {
say("ok 6 # def in inner scope, called from outer scope fully qualified");
}
}
GLOBAL::six();

sub seven () {
"ok 7 # return string literal from sub";
Expand Down

0 comments on commit 0210b86

Please sign in to comment.