tests/test-command-template.t
changeset 36246 9ee10b3284da
parent 35751 6d65cef5b038
child 36445 e8d37838f5df
--- a/tests/test-command-template.t	Sun Jan 07 11:21:25 2018 +0900
+++ b/tests/test-command-template.t	Sun Jan 07 12:09:33 2018 +0900
@@ -2232,6 +2232,10 @@
 
   $ hg debugtemplate '{"foo/bar"|basename}|{"foo/"|basename}|{"foo"|basename}|\n'
   bar||foo|
+  $ hg debugtemplate '{"foo/bar"|dirname}|{"foo/"|dirname}|{"foo"|dirname}|\n'
+  foo|foo||
+  $ hg debugtemplate '{"foo/bar"|stripdir}|{"foo/"|stripdir}|{"foo"|stripdir}|\n'
+  foo|foo|foo|
 
 Add a dummy commit to make up for the instability of the above: