tests/test-help.t
changeset 27614 1d7e824ad093
parent 27582 8f8f3b13252d
child 27623 b3376fba4ab9
--- a/tests/test-help.t	Wed Dec 30 21:07:51 2015 +0000
+++ b/tests/test-help.t	Fri Jan 01 16:59:13 2016 +0000
@@ -1162,6 +1162,31 @@
   $ hg help config.type | egrep '^$'|wc -l
   \s*3 (re)
 
+Separate sections from subsections
+
+  $ hg help config.format | egrep '^    ("|-)|^\s*$' | uniq
+      "format"
+      --------
+  
+      "usegeneraldelta"
+  
+      "dotencode"
+  
+      "usefncache"
+  
+      "usestore"
+  
+      "profiling"
+      -----------
+  
+      "format"
+  
+      "progress"
+      ----------
+  
+      "format"
+  
+
 Last item in help config.*:
 
   $ hg help config.`hg help config|grep '^    "'| \