Skip to content
Browse files

[t/spec] be even more explicit with undefinedness check

git-svn-id: http://svn.pugscode.org/pugs@31963 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent b5caf94 commit 816c95f581c6006dffd80a8994cea424f8915a9a moritz committed Aug 12, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 S05-match/capturing-contexts.t
View
1 S05-match/capturing-contexts.t
@@ -113,6 +113,7 @@ is_run( q{'aa' ~~ /(.)$1/},
'$0 accessible when $/ is undefined';
ok $0 === Any,
'$0 is Any when $/ is undefined';
+ nok $0.defined, '$0 is undefined';
}
# RT #77160

0 comments on commit 816c95f

Please sign in to comment.
Something went wrong with that request. Please try again.