changeset 39044:83cee1af747f

tests: allow more detailed error message from re.compile test-grep.t now passes on Python 3. Differential Revision: https://phab.mercurial-scm.org/D4240
author Augie Fackler <augie@google.com>
date Thu, 09 Aug 2018 23:13:56 -0400
parents 5797b0bbdd1d
children 88b04bd2cbb4
files contrib/python3-whitelist tests/test-grep.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python3-whitelist	Thu Aug 09 23:13:35 2018 -0400
+++ b/contrib/python3-whitelist	Thu Aug 09 23:13:56 2018 -0400
@@ -185,6 +185,7 @@
 test-glog-topological.t
 test-gpg.t
 test-graft.t
+test-grep.t
 test-hg-parseurl.py
 test-hghave.t
 test-hgignore.t
--- a/tests/test-grep.t	Thu Aug 09 23:13:35 2018 -0400
+++ b/tests/test-grep.t	Thu Aug 09 23:13:56 2018 -0400
@@ -18,7 +18,7 @@
 pattern error
 
   $ hg grep '**test**'
-  grep: invalid match pattern: nothing to repeat
+  grep: invalid match pattern: nothing to repeat* (glob)
   [1]
 
 simple