D7553: tests: fix command name in test-blackbox.t to be bytes

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Fri Dec 6 00:09:28 UTC 2019


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

REVISION SUMMARY
  This command is only used when tests are run with --with-chg, so this was missed
  before.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-blackbox.t

CHANGE DETAILS

diff --git a/tests/test-blackbox.t b/tests/test-blackbox.t
--- a/tests/test-blackbox.t
+++ b/tests/test-blackbox.t
@@ -390,7 +390,7 @@
   > from mercurial import registrar, scmutil
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command('noop')
+  > @command(b'noop')
   > def noop(ui, repo):
   >     pass
   > EOF



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


More information about the Mercurial-devel mailing list