# HG changeset patch # User Matt Mackall # Date 2012-08-24 19:52:45 # Node ID 1fce478552b80afabbccef920ac0395edba8056d # Parent 4b87d947c4e176992947256cdbe8e83cb0b8c1ea tests: fix template test output diff --git a/tests/test-command-template.t b/tests/test-command-template.t --- a/tests/test-command-template.t +++ b/tests/test-command-template.t @@ -1366,25 +1366,25 @@ Error on syntax: 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 ..