D5003: tests: fix up test-bad-extension.t's inline extension
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Oct 12 17:33:18 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9cbc2579f5be: tests: fix up test-bad-extension.t's inline extension (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5003?vs=11911&id=11933
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