tests/test-help.t
changeset 42394 ad55a0a5894f
parent 42325 526750cdd02d
child 42418 9803323048b6
--- a/tests/test-help.t	Thu May 23 10:47:10 2019 -0400
+++ b/tests/test-help.t	Thu May 23 11:14:32 2019 -0400
@@ -1303,6 +1303,13 @@
       *empty chunk* at the end of each *delta group* denotes the boundary to the
       next filelog sub-segment.
 
+non-existent subtopics print an error
+
+  $ hg help internals.foo
+  abort: no such help topic: internals.foo
+  (try 'hg help --keyword foo')
+  [255]
+
 test advanced, deprecated and experimental options are hidden in command help
   $ hg help debugoptADV
   hg debugoptADV