diff tests/test-help.t @ 26237:1c6f7cc52da9

minirst: establish leveling for nested definitions
author timeless@mozdev.org
date Thu, 10 Sep 2015 10:48:20 -0400
parents a4da463df6cf
children 69da16b366ad
line wrap: on
line diff
--- a/tests/test-help.t	Sun Sep 13 16:30:21 2015 -0400
+++ b/tests/test-help.t	Thu Sep 10 10:48:20 2015 -0400
@@ -936,6 +936,12 @@
   $ hg help config.charsets |grep "Email example:" > /dev/null
   [1]
 
+Show nested definitions
+("profiling.type"[break]"ls"[break]"stat"[break])
+
+  $ hg help config.type | egrep '^$'|wc -l
+  \s*3 (re)
+
 Last item in help config.*:
 
   $ hg help config.`hg help config|grep '^    "'| \