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
--- 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