tests: fix test-subrepo-paths.t on Python 3
authorAugie Fackler <augie@google.com>
Sat, 19 May 2018 16:02:39 -0400
changeset 38096 f97c83d94911
parent 38095 3de58f50afa2
child 38097 a400fe810346
tests: fix test-subrepo-paths.t on Python 3 The Python 3 group reference error message is a little more helpful, so we'll allow the extra output. I tried matching this with an (re) line, but decided it wasn't worth the effort. Differential Revision: https://phab.mercurial-scm.org/D3623
tests/test-subrepo-paths.t
--- a/tests/test-subrepo-paths.t	Sat May 19 15:53:31 2018 -0400
+++ b/tests/test-subrepo-paths.t	Sat May 19 16:02:39 2018 -0400
@@ -55,7 +55,7 @@
   > .* = \1
   > EOF
   $ hg debugsub
-  abort: bad subrepository pattern in $TESTTMP/outer/.hg/hgrc:2: invalid group reference
+  abort: bad subrepository pattern in $TESTTMP/outer/.hg/hgrc:2: invalid group reference* (glob)
   [255]
 
   $ cd ..