tests/test-command-template.t
changeset 18884 0615b22da148
parent 18715 c4ff927b6f68
child 18893 74ea61318ea8
--- a/tests/test-command-template.t	Mon Apr 08 09:44:26 2013 -0700
+++ b/tests/test-command-template.t	Sun Apr 07 23:25:50 2013 -0700
@@ -1360,6 +1360,12 @@
   $ hg log -l1 --template '{date|age}\n'
   7 years from now
 
+Filter with int function argument:
+
+  $ hg log --template '{fill(author, 20)}\n' -r 0
+  User Name
+  <user@hostname>
+
 Error on syntax:
 
   $ echo 'x = "f' >> t