This is an automatically generated mail to inform you that tests are now available in t/spec/S05-metasyntax/unknown.t
commit cb65adf5177e781c203e37e0ba4a9df6b372ccc8 Author: moritz <mor...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Sun May 30 13:54:24 2010 +0000 [t/spec] tests for RT #74832 git-svn-id: http://svn.pugscode.org/p...@30995 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S05-metasyntax/unknown.t b/t/spec/S05-metasyntax/unknown.t index 0ec2ffb..8b18392 100644 --- a/t/spec/S05-metasyntax/unknown.t +++ b/t/spec/S05-metasyntax/unknown.t @@ -1,7 +1,7 @@ use v6; use Test; -plan 8; +plan 10; # L<S05/Simplified lexical parsing of patterns/not all non-identifier glyphs are currently meaningful as metasyntax> @@ -24,4 +24,10 @@ lives_ok({"aa!" ~~ /'a'/}, 'quoted "a" is valid'); ok '!' !~~ /<foo>/, '\\{ in a rule (-)'; } +# RT #74832 +{ + nok eval('/ a+ + /'), 'Cannot parse regex a+ +'; + ok "$!" ~~ /quantif/, 'error message mentions quantif{y,ier}'; +} + # vim: ft=perl6