Skip to content

Commit

Permalink
unfudge test for catching p5 style general quantifiers in regexes
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 17, 2010
1 parent 1210d8f commit 5b48fa0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion S05-metasyntax/repeat.t
Expand Up @@ -44,7 +44,6 @@ ok("abcabcabcabcd" ~~ m/'abc'**{2..*}/, 'Open range repetition using closure');
ok(!( "abcd" ~~ m/'abc'**{2..*}/), 'Fail open range repetition using closure');

# It is illegal to return a list, so this easy mistake fails:
#?rakudo todo 'catch {1,3} old-style repetition quantifier'
eval_dies_ok('"foo" ~~ m/o{1,3}/', 'P5-style {1,3} range mistake is caught');
eval_dies_ok('"foo" ~~ m/o{1,}/}', 'P5-style {1,} range mistake is caught');

Expand Down

0 comments on commit 5b48fa0

Please sign in to comment.