tests/test-revset.t
changeset 12321 11db6fa2961e
parent 12320 40c40c6f20b8
parent 12316 4134686b83e1
child 12408 78a97859b90d
--- a/tests/test-revset.t	Fri Sep 17 12:45:13 2010 -0500
+++ b/tests/test-revset.t	Mon Sep 20 15:42:58 2010 +0200
@@ -211,6 +211,10 @@
   9
   $ log 'grep("issue\d+")'
   6
+  $ try 'grep("(")' # invalid regular expression
+  ('func', ('symbol', 'grep'), ('string', '('))
+  hg: parse error: invalid match pattern: unbalanced parenthesis
+  [255]
   $ log 'head()'
   0
   1