Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for RT #122349
  • Loading branch information
peschwa committed Jul 21, 2014
1 parent dc1d29b commit 8a43069
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S05-substitution/subst.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 140;
plan 141;

# L<S05/Substitution/>

Expand Down Expand Up @@ -433,6 +433,11 @@ is '12'.subst(/(.)(.)/,{$()*2}),'24', '.. and do nifty things in closures';
is($RT119201_m, 'a', 'get match variable in replacement of subst-mutator');
}

# RT #122349
{
eval_lives_ok '$_ = "a";s/a$/b/;s|b$|c|;s!c$!d!;', '$ anchor directly at the end of the search pattern works';
}

done;

# vim: ft=perl6

0 comments on commit 8a43069

Please sign in to comment.