tests/test-command-template.t
changeset 28332 e91371633127
parent 28331 2874db5462d3
child 28333 41373244f4e5
--- a/tests/test-command-template.t	Sun Feb 14 00:05:58 2016 +0900
+++ b/tests/test-command-template.t	Sun Feb 14 00:18:12 2016 +0900
@@ -3248,6 +3248,11 @@
   1 is not
   0 is in the string
 
+  $ hg log -T '{rev} {ifcontains(rev, "2 two{" 0"}", "is in the string", "is not")}\n'
+  2 is in the string
+  1 is not
+  0 is in the string
+
   $ hg log --template '{rev} {ifcontains("a", file_adds, "added a", "did not add a")}\n'
   2 did not add a
   1 did not add a