tests/test-command-template.t
changeset 31927 2abc556dbe92
parent 31926 932241b8c644
child 31928 277b3e2d711b
--- a/tests/test-command-template.t	Mon Apr 03 22:54:06 2017 +0900
+++ b/tests/test-command-template.t	Sat Apr 08 23:33:32 2017 +0900
@@ -2684,6 +2684,14 @@
   hg: parse error: date expects a date information
   [255]
 
+  $ hg tip -T '{author|email|shortdate}\n'
+  abort: template filter 'shortdate' is not compatible with keyword 'author'
+  [255]
+
+  $ hg tip -T '{get(extras, "branch")|shortdate}\n'
+  abort: incompatible use of template filter 'shortdate'
+  [255]
+
 Error in nested template:
 
   $ hg log -T '{"date'