tests/test-command-template.t
changeset 31886 bdda942f4b9c
parent 31885 d18b624c1c06
child 31887 f7b3677f66cd
--- a/tests/test-command-template.t	Mon Apr 03 20:55:55 2017 +0900
+++ b/tests/test-command-template.t	Mon Apr 03 21:22:39 2017 +0900
@@ -146,6 +146,13 @@
   hg: parse error: can't use a key-value pair in this context
   [255]
 
+Call function which takes named arguments by filter syntax:
+
+  $ hg debugtemplate '{" "|separate}'
+  $ hg debugtemplate '{("not", "an", "argument", "list")|separate}'
+  hg: parse error: unknown method 'list'
+  [255]
+
 Second branch starting at nullrev:
 
   $ hg update null