Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct some tests that had wrong expectations on backtracking.
  • Loading branch information
jnthn committed May 27, 2012
1 parent 59b7d26 commit 9478f9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions S05-metasyntax/angle-brackets.t
Expand Up @@ -208,11 +208,11 @@ character classes), and those are referenced at the correct spot.

# A leading ?{ or !{ indicates a code assertion
{
ok('192' ~~ /(\d**1..3) <?{$0 < 256}>/, '<?{...}> works');
ok('192' ~~ /(\d**3) <?{$0 < 256}>/, '<?{...}> works');
#?niecza todo '<?{...}>'
ok(!('992' ~~ /(\d**1..3) <?{$0 < 256}>/), '<?{...}> works');
ok(!('192' ~~ /(\d**1..3) <!{$0 < 256}>/), '<!{...}> works');
ok('992' ~~ /(\d**1..3) <!{$0 < 256}>/, '<!{...}> works');
ok(!('992' ~~ /(\d**3) <?{$0 < 256}>/), '<?{...}> works');
ok(!('192' ~~ /(\d**3) <!{$0 < 256}>/), '<!{...}> works');
ok('992' ~~ /(\d**3) <!{$0 < 256}>/, '<!{...}> works');
}
# A leading [ indicates an enumerated character class
Expand Down

0 comments on commit 9478f9a

Please sign in to comment.