changeset 31882 | ba5b74f780d5 |
parent 31807 | e6eb86b154c5 |
child 31885 | d18b624c1c06 |
--- a/tests/test-command-template.t Tue Apr 04 22:20:06 2017 +0900 +++ b/tests/test-command-template.t Tue Apr 04 22:31:59 2017 +0900 @@ -3392,6 +3392,13 @@ hg: parse error: get() expects a dict as first argument [255] +Test json filter applied to hybrid object: + + $ hg log -r0 -T '{files|json}\n' + ["a"] + $ hg log -r0 -T '{extras|json}\n' + {"branch": "default"} + Test localdate(date, tz) function: $ TZ=JST-09 hg log -r0 -T '{date|localdate|isodate}\n'