tests/test-template-filters.t
changeset 38435 6a8ed5c7e112
parent 38434 70f551a3f52e
child 38436 da4508cdef37
--- a/tests/test-template-filters.t	Sat Jun 16 13:17:11 2018 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-  $ hg debugtemplate '{""|splitlines|commondir}\n'
-  
-  $ hg debugtemplate '{"foo/bar\nfoo/baz\nfoo/foobar\n"|splitlines|commondir}\n'
-  foo
-  $ hg debugtemplate '{"foo/bar\nfoo/bar\n"|splitlines|commondir}\n'
-  foo
-  $ hg debugtemplate '{"/foo/bar\n/foo/bar\n"|splitlines|commondir}\n'
-  foo
-  $ hg debugtemplate '{"/foo\n/foo\n"|splitlines|commondir}\n'
-  
-  $ hg debugtemplate '{"foo/bar\nbar/baz"|splitlines|commondir}\n'
-  
-  $ hg debugtemplate '{"foo/bar\nbar/baz\nbar/foo\n"|splitlines|commondir}\n'
-  
-  $ hg debugtemplate '{"foo/../bar\nfoo/bar"|splitlines|commondir}\n'
-  foo
-  $ hg debugtemplate '{"foo\n/foo"|splitlines|commondir}\n'
-  
-  $ hg init
-  $ hg log -r null -T '{rev|commondir}'
-  hg: parse error: argument is not a list of text
-  (template filter 'commondir' is not compatible with keyword 'rev')
-  [255]