Patchwork D11753: tests: fix test-censor by improving regexp (issue6585)

login
register
mail settings
Submitter phabricator
Date Nov. 14, 2021, 11:13 p.m.
Message ID <differential-rev-PHID-DREV-fxmutnsb3537ohmwxngx-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50078/
State Superseded
Headers show

Comments

phabricator - Nov. 14, 2021, 11:13 p.m.
wiz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-censor.t

CHANGE DETAILS




To: wiz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-censor.t b/tests/test-censor.t
--- a/tests/test-censor.t
+++ b/tests/test-censor.t
@@ -552,14 +552,14 @@ 
 Censor the file
 
   $ hg cat -r $B1 target | wc -l
-  50002 (re)
+   *50002 (re)
   $ hg censor -r $B1 target
   $ hg cat -r $B1 target | wc -l
-  0 (re)
+   *0 (re)
 
 Check the children is fine
 
   $ hg cat -r $B2 target | wc -l
-  50003 (re)
+   *50003 (re)
 
 #endif