tests/test-command-template.t
changeset 26127 7012be5ab5bd
parent 26106 c568c4db036f
child 26128 51f6940d3b4f
--- a/tests/test-command-template.t	Tue Sep 01 19:43:14 2015 +0900
+++ b/tests/test-command-template.t	Tue Sep 01 19:15:16 2015 +0900
@@ -2495,6 +2495,10 @@
   abort: template filter 'escape' is not compatible with keyword 'date'
   [255]
 
+  $ hg log -l 3 --template 'line: {extras|localdate}\n'
+  hg: parse error: localdate expects a date information
+  [255]
+
 Behind the scenes, this will throw ValueError
 
   $ hg tip --template '{author|email|date}\n'