tests/test-command-template.t
changeset 31887 f7b3677f66cd
parent 31886 bdda942f4b9c
child 31926 932241b8c644
--- a/tests/test-command-template.t	Mon Apr 03 21:22:39 2017 +0900
+++ b/tests/test-command-template.t	Mon Apr 03 22:23:52 2017 +0900
@@ -146,6 +146,9 @@
   hg: parse error: can't use a key-value pair in this context
   [255]
 
+  $ hg debugtemplate '{pad("foo", width=10, left=true)}\n'
+         foo
+
 Call function which takes named arguments by filter syntax:
 
   $ hg debugtemplate '{" "|separate}'