Skip to content

Commit

Permalink
Add test for RT #77406
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Mar 14, 2015
1 parent b129356 commit 3c01d70
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion S05-modifier/ii.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 18;
plan 21;

#?kp6 emit skip_rest("unimpl");

Expand Down Expand Up @@ -62,6 +62,16 @@ for @todo -> $t {
is $_, 'Xyc', ':ii implies :i';
}

# RT #77406
{
ok "a" ~~ m:i/:i A/,
'duplicated before-regexp modifier ":i" allowed (1)';
ok "a" ~~ m:i:i/A/,
'duplicated before-regexp modifier ":i" allowed (2)';
ok "a" ~~ m/:i:i A/,
'duplicated before-regexp modifier ":i" allowed (3)';
}

done;

# vim: syn=perl6 sw=4 ts=4 expandtab

0 comments on commit 3c01d70

Please sign in to comment.