Skip to content

Commit

Permalink
:nth does not accept Mu param, RT #77408
Browse files Browse the repository at this point in the history
  • Loading branch information
bbkr committed Jul 15, 2012
1 parent fd2b5a2 commit 9973e0d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S05-modifier/counted-match.t
Expand Up @@ -8,7 +8,7 @@ version 0.3 (12 Apr 2004), file t/counted.t.
=end pod

plan 21;
plan 22;

my $data = "f fo foo fooo foooo fooooo foooooo";

Expand Down Expand Up @@ -83,6 +83,11 @@ my $data = "f fo foo fooo foooo fooooo foooooo";
'ac, ae', 'non-monotonic items in :nth are ignored';
}

# RT 77408
{
dies_ok { "a" ~~ m:nth(Mu)/a/ }, ':nth does not accept Mu param';
}

done;

# vim: ft=perl6

0 comments on commit 9973e0d

Please sign in to comment.