py3: add couple of missing b'' prefixes in tests/test-pager-legacy.t
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 18 Jun 2018 15:23:25 +0530
changeset 38362 e53879421ecd
parent 38361 2ceea1554d1e
child 38363 a6426dd3210d
py3: add couple of missing b'' prefixes in tests/test-pager-legacy.t # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3784
tests/test-pager-legacy.t
--- a/tests/test-pager-legacy.t	Thu Jun 14 15:17:47 2018 -0700
+++ b/tests/test-pager-legacy.t	Mon Jun 18 15:23:25 2018 +0530
@@ -247,9 +247,9 @@
   > from mercurial import registrar, commands
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command(b'fortytwo', [], 'fortytwo', norepo=True)
+  > @command(b'fortytwo', [], b'fortytwo', norepo=True)
   > def fortytwo(ui, *opts):
-  >     ui.write('42\n')
+  >     ui.write(b'42\n')
   >     return 42
   > EOF