Mercurial > evolve
changeset 6930:195941260a67 stable
tests: normalize leading spaces in `hg help pick` output
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 11 Nov 2024 10:38:20 +0400 |
parents | 972d98ce3552 |
children | 237f99ee3d64 |
files | tests/test-pick.t tests/test-topic-issue6406.t |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pick.t Wed Nov 06 16:45:02 2024 +0400 +++ b/tests/test-pick.t Mon Nov 11 10:38:20 2024 +0400 @@ -25,15 +25,15 @@ $ hg init repo $ cd repo - $ hg help pick + $ hg help pick | sed 's/^ //' hg pick [OPTION]... [-r] REV aliases: grab move a commit onto the working directory parent and update to it. - The resulting changeset will have the current active topic. If there's no - active topic set, the resulting changeset will also not have any topic. + The resulting changeset will have the current active topic. If there's no + active topic set, the resulting changeset will also not have any topic. options:
--- a/tests/test-topic-issue6406.t Wed Nov 06 16:45:02 2024 +0400 +++ b/tests/test-topic-issue6406.t Mon Nov 11 10:38:20 2024 +0400 @@ -53,9 +53,9 @@ This is what the help text says about this issue - $ hg help pick | grep 'active topic' - The resulting changeset will have the current active topic. If there's no - active topic set, the resulting changeset will also not have any topic. + $ hg help pick | grep 'active topic' | sed 's/^ //' + The resulting changeset will have the current active topic. If there's no + active topic set, the resulting changeset will also not have any topic. wdir has no active topic: pick should clear topic of the resulting cset