diff tests/test-topic-issue6406.t @ 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 81fe0a498447
children
line wrap: on
line diff
--- 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