Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test for RT #122891.
  • Loading branch information
jnthn committed Nov 10, 2015
1 parent 6f6e494 commit db7683e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S05-metachars/line-anchors.t
Expand Up @@ -14,7 +14,7 @@ be valid perl6.

# L<S05/New metacharacters/"^^ and $$ match line beginnings and endings">

plan 23;
plan 24;

my $str = q{abc
def
Expand Down Expand Up @@ -52,4 +52,8 @@ ok( $str ~~ m/^abc$$\n^^d.*f$$\n^^ghi$/, 'All dot' );
'error when quantifying $$';
}

# RT #122891
#?rakudo.jvm todo 'NFG'
nok "a\r\n" ~~ /^^\s*$$/, 'No accidental match of ^^\s$$ between \r and \n';

# vim: ft=perl6

0 comments on commit db7683e

Please sign in to comment.