Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct a precedence fail in a test. Rakudo unfudge.
  • Loading branch information
jnthn committed May 12, 2012
1 parent e53b228 commit 39bcd72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S05-metasyntax/angle-brackets.t
Expand Up @@ -281,13 +281,12 @@ character classes), and those are referenced at the correct spot.
# A <( token indicates the start of a result capture,
# while the corresponding )> token indicates its endpoint
#?rakudo skip '<( and )>'
{
is('foo123bar' ~~ /foo <(\d+)> bar/, 123, '<(...)> pair');
is('foo456bar' ~~ /foo <(\d+ bar/, '456bar', '<( match');
is('foo789bar' ~~ /foo \d+)> bar/, 'foo789', ')> match');
#?niecza todo 'non-matching <(...)>'
ok(!('foo123') ~~ /foo <(\d+)> bar/, 'non-matching <(...)>');
ok(!('foo123' ~~ /foo <(\d+)> bar/), 'non-matching <(...)>');
}
# A « or << token indicates a left word boundary.
Expand Down

0 comments on commit 39bcd72

Please sign in to comment.