D5003: tests: fix up test-bad-extension.t's inline extension

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Oct 12 16:53:36 UTC 2018


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Upcoming patches will be simpler, I think.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-bad-extension.t

CHANGE DETAILS

diff --git a/tests/test-bad-extension.t b/tests/test-bad-extension.t
--- a/tests/test-bad-extension.t
+++ b/tests/test-bad-extension.t
@@ -67,7 +67,7 @@
   > command = registrar.command(cmdtable)
   > @command(b'showbadexts', norepo=True)
   > def showbadexts(ui, *pats, **opts):
-  >     ui.write('BADEXTS: %s\n' % ' '.join(sorted(extensions.notloaded())))
+  >     ui.write(b'BADEXTS: %s\n' % b' '.join(sorted(extensions.notloaded())))
   > EOF
   $ hg --config extensions.badexts=showbadexts.py showbadexts 2>&1 | grep '^BADEXTS'
   BADEXTS: badext badext2



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


More information about the Mercurial-devel mailing list