[Templates-cvs] cvs commit: Template2/t url.t
cvs@template-toolkit.org
cvs@template-toolkit.org
cvs 05/12/23 13:33:41
Modified: t url.t
Log:
Updated test to match plugin
Revision Changes Path
2.5 +8 -8 Template2/t/url.t
Index: url.t
===================================================================
RCS file: /template-toolkit/Template2/t/url.t,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -r2.4 -r2.5
--- url.t 2002/06/13 07:41:23 2.4
+++ url.t 2005/12/23 13:33:40 2.5
@@ -11,7 +11,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: url.t,v 2.4 2002/06/13 07:41:23 abw Exp $
+# $Id: url.t,v 2.5 2005/12/23 13:33:40 darren Exp $
#
#========================================================================
@@ -120,7 +120,7 @@
there
here?any=where
every?which=way
-every?which=way&you=can
+every?which=way&you=can
-- test --
[% USE url('there', name='fred') -%]
@@ -132,8 +132,8 @@
-- expect --
there?name=fred
there?name=tom
-there?age=24&name=fred
-there?age=42&name=frank
+there?age=24&name=fred
+there?age=42&name=frank
-- test --
[% USE url('/cgi-bin/woz.pl') -%]
@@ -147,7 +147,7 @@
[% url %]
-- expect --
-/script?one=1&three=3&three=6&three=9&two=2&two=4
+/script?one=1&three=3&three=6&three=9&two=2&two=4
-- test --
[% url.product.view %]
@@ -161,11 +161,11 @@
[% url.product.add(style='compact') %]
-- expect --
/product?action=add
-/product?action=add&style=compact
+/product?action=add&style=compact
-- test --
[% url.product.edit %]
[% url.product.edit(style='compact') %]
-- expect --
-/product?action=edit&style=editor
-/product?action=edit&style=compact
+/product?action=edit&style=editor
+/product?action=edit&style=compact