joes        2004/10/03 20:09:09

  Modified:    t/api    in_out_filters.t
  Log:
  Revert previous test change:using t_cmp is inappropriate when testing large strings.
  
  Revision  Changes    Path
  1.3       +4 -1      modperl-2.0/t/api/in_out_filters.t
  
  Index: in_out_filters.t
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/api/in_out_filters.t,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- in_out_filters.t  4 Oct 2004 02:16:42 -0000       1.2
  +++ in_out_filters.t  4 Oct 2004 03:09:09 -0000       1.3
  @@ -14,5 +14,8 @@
   my $expected = lc $content;
   my $received = POST_BODY $location, content => $content;
   
  -ok t_cmp $received, $expected, 'lc($in) eq $out';
  +# don't use t_cmp in this test, because the data length is 500K.
  +# You don't want to see 500K * 2 when you run t/TEST -verbose
  +
  +ok $received eq $expected;
   
  
  
  

Reply via email to