Permalink
Browse files

[t/spec] tests for RT #74832

git-svn-id: http://svn.pugscode.org/pugs@30995 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 8d02e9d commit b80cf7d8a2c7489d32bf1c77a118a939924dbdaa moritz committed May 30, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1 S05-metasyntax/unknown.t
View
@@ -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

0 comments on commit b80cf7d

Please sign in to comment.