changeset 40186:9cbc2579f5be

tests: fix up test-bad-extension.t's inline extension Upcoming patches will be simpler, I think. Differential Revision: https://phab.mercurial-scm.org/D5003
author Augie Fackler <augie@google.com>
date Fri, 12 Oct 2018 12:31:17 -0400
parents 19fc5a986669
children dcda50856843
files tests/test-bad-extension.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bad-extension.t	Fri Oct 12 11:44:27 2018 -0400
+++ b/tests/test-bad-extension.t	Fri Oct 12 12:31:17 2018 -0400
@@ -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