# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 2021-01-25 22:13:01
# Node ID 09a5cce46675d6769ac761e8117df49a3f7b3e57
# Parent  4e705cc6a3f5133ac2913c8111ae79436c6c0b4c

perf: test the formatting of a command help

Since we are about to addd ':' in command name I want this covered.

Differential Revision: https://phab.mercurial-scm.org/D9871

diff --git a/tests/test-contrib-perf.t b/tests/test-contrib-perf.t
--- a/tests/test-contrib-perf.t
+++ b/tests/test-contrib-perf.t
@@ -195,6 +195,20 @@ perfstatus
    perf--write   microbenchmark ui.write (and others)
   
   (use 'hg help -v perf' to show built-in aliases and global options)
+
+  $ hg help perfaddremove
+  hg perf--addremove
+  
+  aliases: perfaddremove
+  
+  (no help text available)
+  
+  options:
+  
+   -T --template TEMPLATE display with template
+  
+  (some details hidden, use --verbose to show complete help)
+
   $ hg perfaddremove
   $ hg perfancestors
   $ hg perfancestorset 2