diff --git a/tests/test-template-map.t b/tests/test-template-map.t --- a/tests/test-template-map.t +++ b/tests/test-template-map.t @@ -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