[Templates-cvs] cvs commit: TT3/lib/Template Test.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Wed, 01 Dec 2004 17:59:59 +0000


cvs         04/12/01 17:59:59

  Modified:    lib/Template Test.pm
  Log:
  * changed the output format again to something more readable
  
  Revision  Changes    Path
  1.8       +4 -4      TT3/lib/Template/Test.pm
  
  Index: Test.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/Test.pm,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Test.pm	2004/12/01 10:47:44	1.7
  +++ Test.pm	2004/12/01 17:59:59	1.8
  @@ -16,7 +16,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Test.pm,v 1.7 2004/12/01 10:47:44 abw Exp $
  +#   $Id: Test.pm,v 1.8 2004/12/01 17:59:59 abw Exp $
   #
   #========================================================================
   
  @@ -28,7 +28,7 @@
   use Template::Base;
   use base qw( Template::Base Exporter );
   
  -our $VERSION = sprintf("%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/);
  +our $VERSION = sprintf("%d.%02d", q$Revision: 1.8 $ =~ /(\d+)\.(\d+)/);
   our $DEBUG   = 0 unless defined $DEBUG;
   our $ERROR   = '';
   our $MAGIC   = '\s* -- \s*';
  @@ -349,7 +349,7 @@
       }
       else {
           for ($expect, $result) {
  -            s/\n/\\n]\n          [/g;
  +            s/\n/\n          |/g;
           }
           return ok(0, $msg, "  expect: [$expect]\n  result: [$result]\n");
       }
  @@ -540,7 +540,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.7 $
  +$Revision: 1.8 $
   
   =head1 COPYRIGHT