tests/test-template-map.t
changeset 45258 46c8db8d4e03
parent 45222 f512708a9ea8
child 45259 9a308336fe41
--- a/tests/test-template-map.t	Wed Jul 22 10:34:24 2020 -0700
+++ b/tests/test-template-map.t	Thu Jul 23 22:44:18 2020 -0700
@@ -1281,6 +1281,12 @@
   abort: Is a directory: 'somedir'
   [255]
 
+Error if style is a directory whose name is a built-in style:
+
+  $ hg log --style coal
+  abort: Is a directory: '*/mercurial/templates/coal' (glob)
+  [255]
+
 Error if style missing key:
 
   $ echo 'q = q' > t