[Templates-cvs] cvs commit: Template2/t vmeth.t
cvs@template-toolkit.org
cvs@template-toolkit.org
cvs 06/01/29 11:37:21
Modified: t vmeth.t
Log:
* updated tests to check modification to split() scalar vmethod
Revision Changes Path
2.21 +7 -1 Template2/t/vmeth.t
Index: vmeth.t
===================================================================
RCS file: /template-toolkit/Template2/t/vmeth.t,v
retrieving revision 2.20
retrieving revision 2.21
diff -u -r2.20 -r2.21
--- vmeth.t 2006/01/05 10:13:51 2.20
+++ vmeth.t 2006/01/29 11:37:21 2.21
@@ -13,7 +13,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: vmeth.t,v 2.20 2006/01/05 10:13:51 abw Exp $
+# $Id: vmeth.t,v 2.21 2006/01/29 11:37:21 abw Exp $
#
#========================================================================
@@ -166,6 +166,12 @@
The_cat_sat_on_the_mat
-- test --
+-- test --
+[% string.split(' ', 3).join('_') %]
+-- expect --
+The_cat_sat on the mat
+
+-- test --
[% spaced.split.join('_') %]
-- expect --
The_dog_sat_on_the_log