tests/test-command-template.t
changeset 31520 6f150bb19317
parent 31519 3725986b151a
child 31521 44c591f63458
--- a/tests/test-command-template.t	Sat Mar 18 20:38:44 2017 +0900
+++ b/tests/test-command-template.t	Sat Mar 18 20:50:15 2017 +0900
@@ -4115,6 +4115,11 @@
   abort: template filter 'utf8' is not compatible with keyword 'rev'
   [255]
 
+pad width:
+
+  $ HGENCODING=utf-8 hg debugtemplate "{pad('`cat utf-8`', 2, '-')}\n"
+  \xc3\xa9- (esc)
+
   $ cd ..
 
 Test that template function in extension is registered as expected