Mercurial > hg
changeset 17387:1fce478552b8
tests: fix template test output
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 24 Aug 2012 14:52:45 -0500 |
parents | 4b87d947c4e1 |
children | 54feb8d3bab7 |
files | tests/test-command-template.t |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-command-template.t Tue Aug 21 13:12:56 2012 -0700 +++ b/tests/test-command-template.t Fri Aug 24 14:52:45 2012 -0500 @@ -1366,25 +1366,25 @@ Behind the scenes, this will throw TypeError $ hg log -l 3 --template '{date|obfuscate}\n' - abort: Template filter 'obfuscate' is not compatible with keyword 'date' + abort: template filter 'obfuscate' is not compatible with keyword 'date' [255] Behind the scenes, this will throw a ValueError $ hg log -l 3 --template 'line: {desc|shortdate}\n' - abort: Template filter 'shortdate' is not compatible with keyword 'desc' + abort: template filter 'shortdate' is not compatible with keyword 'desc' [255] Behind the scenes, this will throw AttributeError $ hg log -l 3 --template 'line: {date|escape}\n' - abort: Template filter 'escape' is not compatible with keyword 'date' + abort: template filter 'escape' is not compatible with keyword 'date' [255] Behind the scenes, this will throw ValueError $ hg tip --template '{author|email|date}\n' - abort: Template filter 'datefilter' is not compatible with keyword 'author' + abort: template filter 'datefilter' is not compatible with keyword 'author' [255] $ cd ..