Mercurial > public > mercurial-scm > hg
diff tests/test-command-template.t @ 25782:babd2c93bd99
templater: check existence of closing brace of template string
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 15 Jun 2015 23:03:30 +0900 |
parents | f4412380d357 |
children | 1f6878c87c25 |
line wrap: on
line diff
--- a/tests/test-command-template.t Mon Jun 15 22:55:34 2015 +0900 +++ b/tests/test-command-template.t Mon Jun 15 23:03:30 2015 +0900 @@ -2513,6 +2513,10 @@ abort: t:3: unmatched quotes [255] + $ hg log -T '{date' + hg: parse error at 1: unterminated template expansion + [255] + Behind the scenes, this will throw TypeError $ hg log -l 3 --template '{date|obfuscate}\n'