Patchwork D1907: tests: fix a missed b prefix in a test extension in test-strip.t

login
register
mail settings
Submitter phabricator
Date Jan. 18, 2018, 4:13 p.m.
Message ID <differential-rev-PHID-DREV-ak7hylmgjxfgdhg7v5z7-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26916/
State Superseded
Headers show

Comments

phabricator - Jan. 18, 2018, 4:13 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-strip.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-strip.t b/tests/test-strip.t
--- a/tests/test-strip.t
+++ b/tests/test-strip.t
@@ -899,7 +899,7 @@ 
   >     transaction = orig(repo, desc, *args, **kwargs)
   >     # warm up the phase cache
   >     list(repo.revs(b"not public()"))
-  >     if desc != 'strip':
+  >     if desc != b'strip':
   >          transaction.addpostclose(b"phase invalidation test", test)
   >     return transaction
   > def extsetup(ui):