Patchwork D2559: tests: add some re and globs for test-revset on python3

login
register
mail settings
Submitter phabricator
Date March 2, 2018, 8:04 p.m.
Message ID <differential-rev-PHID-DREV-xpxkcvv7ux5h73yps4qm-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28713/
State Superseded
Headers show

Comments

phabricator - March 2, 2018, 8:04 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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!

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2559

AFFECTED FILES
  tests/test-revset.t

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -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