Skip to content

Commit

Permalink
Test multi regex without proto regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Apr 2, 2011
1 parent 58a9396 commit 2eec5c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test2.pl
Expand Up @@ -61,6 +61,12 @@
dies_ok { bar True }, "cannot pass wrong type";

is "foo".$({ uc $_ }), "FOO", "contextualizer variables";

my grammar G19 {
multi token foo:a { x }
multi token foo:b { y }
}
ok "y" ~~ / :lang(G19) <foo> /, "can use multi regex without proto";
}

#is $?FILE, 'test.pl', '$?FILE works';
Expand Down

0 comments on commit 2eec5c9

Please sign in to comment.