Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update NQP test suite for goal matching changes.
  • Loading branch information
jnthn committed Jun 30, 2015
1 parent 121db36 commit 3ae36d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/qregex/rx_goal
@@ -1,7 +1,7 @@
## Goal tests
'(' ~ ')' \d+ (123) y basic goal syntax
'(' ~ ')' \d+ (123 <couldn't find final> missing goal
'(' ~ ')' \d+ (123abc) <couldn't find final> stuff before goal
'(' ~ ')' \d+ (123 n missing goal
'(' ~ ')' \d+ (123abc) n stuff before goal
'(' ~ ')' \d+ (abc) n can't match internal stuff
'(' ~ ')' \d+ () n missing internal stuff
['('] ~ [')'] \d+ (123) y goal syntax with brackets
Expand All @@ -10,8 +10,8 @@
('(') ~ (')') (\d\d+) (123) y goal syntax with parentheses
'(' ~ <[()]> \d+ (123) y non-literal goal
'(' ~ <[()]> \d+ (123( y non-literal goal
'(' ~ <[()]> \d+ (123] <Unable to parse> failing non-literal goal
:dba('zz') '(' ~ ')' \d+ (123 <zz> :dba adverb
'(' ~ <[()]> \d+ (123] n failing non-literal goal
:dba('zz') '(' ~ ')' \d+ (123 n :dba adverb
(a) ~ (c) (b) abc <mob[0]: a @ 0> capturing and goal matching interaction (1)
(a) ~ (c) (b) abc <mob[1]: c @ 2> capturing and goal matching interaction (2)
(a) ~ (c) (b) abc <mob[2]: b @ 1> capturing and goal matching interaction (3)

0 comments on commit 3ae36d0

Please sign in to comment.