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

wiz (Thomas Klausner) phabricator at mercurial-scm.org
Sun Nov 14 23:13:13 UTC 2021


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

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



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


More information about the Mercurial-devel mailing list