D4240: tests: allow more detailed error message from re.compile

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Aug 9 23:36:50 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG83cee1af747f: tests: allow more detailed error message from re.compile (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4240?vs=10260&id=10270

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

AFFECTED FILES
  contrib/python3-whitelist
  tests/test-grep.t

CHANGE DETAILS

diff --git a/tests/test-grep.t b/tests/test-grep.t
--- a/tests/test-grep.t
+++ b/tests/test-grep.t
@@ -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
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -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



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


More information about the Mercurial-devel mailing list