--- a/tests/test-annotate.t Sun Mar 18 23:36:52 2018 +0900
+++ b/tests/test-annotate.t Thu Mar 15 22:27:16 2018 +0900
@@ -90,6 +90,28 @@
> EOF
$ hg ci -mb2 -d '2 0'
+default output of '{lines}' should be readable
+
+ $ hg annotate -T'{lines}' a
+ 0: a
+ 1: a
+ 1: a
+ $ hg annotate -T'{join(lines, "\n")}' a
+ 0: a
+
+ 1: a
+
+ 1: a
+
+several filters can be applied to '{lines}'
+
+ $ hg annotate -T'{lines|stringify}' a
+ 0: a
+ 1: a
+ 1: a
+ $ hg annotate -T'{lines|count}\n' a
+ 3
+
annotate multiple files (JSON)
$ hg annotate -Tjson a b