# HG changeset patch # User Thomas Klausner # Date 2021-11-14 23:08:02 # Node ID 95ea181d9bdd8c666509d62fdd82b65d871bd52e # Parent 6248607381f21a5a6eedb1b033aec4535fe60ba3 tests: fix test-censor by improving regexp (issue6585) Differential Revision: https://phab.mercurial-scm.org/D11753 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 @@ Make sure the last revision is a delta a 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