tests/test-help.t
changeset 44341 142d2a4cb69a
parent 44336 d8b53385b1bc
child 44350 c577bb4a04d4
--- a/tests/test-help.t	Sat Feb 08 23:39:55 2020 -0500
+++ b/tests/test-help.t	Sun Feb 09 15:50:36 2020 -0500
@@ -788,6 +788,12 @@
   (use 'hg help extensions' for information on enabling extensions)
   [255]
 
+Checking that help adapts based on the config:
+
+  $ hg help diff --config ui.tweakdefaults=true | egrep -e '^ *(-g|config)'
+   -g --[no-]git            use git extended diff format (default: on from
+                            config)
+
 Make sure that we don't run afoul of the help system thinking that
 this is a section and erroring out weirdly.