tests: add some re and globs for test-revset on python3
authorAugie Fackler <augie@google.com>
Fri, 02 Mar 2018 13:47:49 -0500
changeset 36583 edf736c3c064
parent 36582 27911e0fb50e
child 36584 f5427483eebe
tests: add some re and globs for test-revset on python3 At this point we're down to two deprecation warnings (which I suspect are showing a bug in the test?) and one weird-looking failure. Progress! Differential Revision: https://phab.mercurial-scm.org/D2559
tests/test-revset.t
--- a/tests/test-revset.t	Fri Mar 02 11:38:16 2018 -0500
+++ b/tests/test-revset.t	Fri Mar 02 13:47:49 2018 -0500
@@ -410,7 +410,7 @@
   hg: parse error at 5: not a prefix: end
   [255]
   $ log 'date("\xy")'
-  hg: parse error: invalid \x escape
+  hg: parse error: invalid \x escape* (glob)
   [255]
   $ log 'date(tip)'
   hg: parse error: invalid date: 'tip'
@@ -1309,7 +1309,7 @@
   (func
     (symbol 'grep')
     (string '('))
-  hg: parse error: invalid match pattern: unbalanced parenthesis
+  hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \),.*) (re)
   [255]
   $ try 'grep("\bissue\d+")'
   (func