diff tests/test-extension.t @ 37500:8bb3899a0f47

formatter: make nested items somewhat readable in template output
author Yuya Nishihara <yuya@tcha.org>
date Thu, 15 Mar 2018 22:27:16 +0900
parents 4e6a6d0dccee
children fb0de0bcd297
line wrap: on
line diff
--- a/tests/test-extension.t	Sun Mar 18 23:36:52 2018 +0900
+++ b/tests/test-extension.t	Thu Mar 15 22:27:16 2018 +0900
@@ -1407,6 +1407,11 @@
   $ hg version -q --config extensions.throw=throw.py
   Mercurial Distributed SCM (version *) (glob)
 
+Test template output:
+
+  $ hg version --config extensions.strip= -T'{extensions}'
+  strip
+
 Test JSON output of version:
 
   $ hg version -Tjson