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

login
register
mail settings
Submitter phabricator
Date Dec. 6, 2019, 12:09 a.m.
Message ID <differential-rev-PHID-DREV-elwypdcyvxyqkvsgnqbe-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43589/
State Superseded
Headers show

Comments

phabricator - Dec. 6, 2019, 12:09 a.m.
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




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

Patch

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