[Templates-cvs] cvs commit: Template2/t url2.t url.t

cvs@template-toolkit.org cvs@template-toolkit.org


cvs         05/12/23 17:24:58

  Modified:    t        url.t
  Added:       t        url2.t
  Log:
  * Added $JOINER to Template::Plugin::URL and updated the tests for it.
  * Added a test file, url2.t, which is the same as url.t except it checks
    for the generated URLs being joined with ;
  See http://lists.template-toolkit.org/pipermail/templates/2005-December/008158.html
  for the thread.
  
  Revision  Changes    Path
  2.6       +2 -1      Template2/t/url.t
  
  Index: url.t
  ===================================================================
  RCS file: /template-toolkit/Template2/t/url.t,v
  retrieving revision 2.5
  retrieving revision 2.6
  diff -u -r2.5 -r2.6
  --- url.t	2005/12/23 13:33:40	2.5
  +++ url.t	2005/12/23 17:24:58	2.6
  @@ -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.5 2005/12/23 13:33:40 darren Exp $
  +# $Id: url.t,v 2.6 2005/12/23 17:24:58 darren Exp $
   #
   #========================================================================
   
  @@ -23,6 +23,7 @@
   $^W = 1;
   
   $Template::Test::DEBUG = 0;
  +$Template::Plugin::URL::JOINER = '&';
   
   my $urls = {
       product => {
  
  
  
  2.1                  Template2/t/url2.t