This is an automatically generated mail to inform you that tests are now available in t/spec/S05-match/capturing-contexts.t
commit 3ace0ce336a3780127e8d1ef8f5e4c62dc446c96 Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Wed Nov 4 20:23:35 2009 +0000 [t/spec] Test for RT 66252: match in void context does not set $/ git-svn-id: http://svn.pugscode.org/p...@28985 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S05-match/capturing-contexts.t b/t/spec/S05-match/capturing-contexts.t index 609480f..93f0e37 100644 --- a/t/spec/S05-match/capturing-contexts.t +++ b/t/spec/S05-match/capturing-contexts.t @@ -93,6 +93,15 @@ is_run( q{'aa' ~~ /(.)$1/}, }, 'match with non-existent capture emits a warning' ); +# RT #66252 +{ + $_ = 'RT 66252'; + /(R.)/; + #?rakudo 2 todo 'RT 66252' + isa_ok $/, 'Match', 'Match object in $/ after match in void context'; + is $/, 'RT', 'Matched as intended in void context'; +} + done_testing; # vim: ft=perl6