tests/test-command-template.t
changeset 35744 8685192a8733
parent 35680 077ee15b8493
child 35751 6d65cef5b038
--- a/tests/test-command-template.t	Tue Jan 16 21:46:17 2018 +0900
+++ b/tests/test-command-template.t	Tue Jan 16 23:50:01 2018 +0900
@@ -2766,6 +2766,16 @@
   hg: parse error at 6: invalid token
   [255]
 
+  $ hg log -T '{}'
+  hg: parse error at 2: not a prefix: end
+  [255]
+  $ hg debugtemplate -v '{()}'
+  (template
+    (group
+      None))
+  hg: parse error: missing argument
+  [255]
+
 Behind the scenes, this will throw TypeError
 
   $ hg log -l 3 --template '{date|obfuscate}\n'