tests/test-command-template.t
changeset 20860 81d6dc8c3c63
parent 20670 0084fcd5d7e2
parent 20857 6eb55310fcbc
child 21024 7731a2281cf0
--- a/tests/test-command-template.t	Tue Mar 18 14:29:33 2014 -0700
+++ b/tests/test-command-template.t	Mon Mar 31 10:12:07 2014 -0500
@@ -1439,6 +1439,12 @@
   abort: template filter 'datefilter' is not compatible with keyword 'author'
   [255]
 
+Thrown an error if a template function doesn't exist
+
+  $ hg tip --template '{foo()}\n'
+  hg: parse error: unknown function 'foo'
+  [255]
+
   $ cd ..