tests/test-command-template.t
changeset 28546 1987ed32efca
parent 28374 af3bd9d1dbc1
child 28548 b7a31068cc80
--- a/tests/test-command-template.t	Sat Feb 13 23:54:24 2016 +0900
+++ b/tests/test-command-template.t	Sun Feb 14 15:42:49 2016 +0900
@@ -2900,12 +2900,8 @@
   template: 0
   $ hg log -Ra -r0 -T '{r"rawstring: {rev}"}\n'
   rawstring: {rev}
-
-because map operation requires template, raw string can't be used
-
-  $ hg log -Ra -r0 -T '{files % r"rawstring"}\n'
-  hg: parse error: expected template specifier
-  [255]
+  $ hg log -Ra -r0 -T '{files % r"rawstring: {file}"}\n'
+  rawstring: {file}
 
 Test string escaping: