tests/test-command-template.t
branchstable
changeset 17334 39c01f8e7b39
parent 16917 bebe376b938f
child 17345 4f8054d3171b
--- a/tests/test-command-template.t	Sat Aug 04 12:29:53 2012 +0200
+++ b/tests/test-command-template.t	Sat Aug 04 14:37:17 2012 +0200
@@ -463,6 +463,13 @@
   abort: "changeset" not in template map
   [255]
 
+Error if style missing value:
+
+  $ echo 'changeset =' > t
+  $ hg log --style t
+  abort: t:1: missing value
+  [255]
+
 Error if include fails:
 
   $ echo 'changeset = q' >> t