Patchwork D5288: tests: make test-alias.t pass with re2

login
register
mail settings
Submitter phabricator
Date Nov. 20, 2018, 12:27 p.m.
Message ID <ba6a5c9b36b53f12deb1c3e3a276a788@localhost.localdomain>
Download mbox | patch
Permalink /patch/36667/
State Not Applicable
Headers show

Comments

phabricator - Nov. 20, 2018, 12:27 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG557d3509da55: tests: make test-alias.t pass with re2 (authored by valentin.gatienbaron, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5288?vs=12565&id=12571

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

AFFECTED FILES
  tests/test-alias.t

CHANGE DETAILS




To: valentin.gatienbaron, #hg-reviewers
Cc: yuja, mercurial-devel

Patch

diff --git a/tests/test-alias.t b/tests/test-alias.t
--- a/tests/test-alias.t
+++ b/tests/test-alias.t
@@ -623,9 +623,9 @@ 
   >>> with open('.hg/hgrc', 'ab') as f:
   ...     f.write(b'[alias]\n'
   ...             b'invaliddoc = log\n'
-  ...             b'invaliddoc:doc = \xc0\n'
+  ...             b'invaliddoc:doc = \xc3\xa9\n'
   ...             b'invalidhelp = log\n'
-  ...             b'invalidhelp:help = \xc0\n') and None
+  ...             b'invalidhelp:help = \xc3\xa9\n') and None
   $ hg help invaliddoc
   non-ASCII character in alias definition 'invaliddoc:doc'
   $ hg help invalidhelp