[Catalyst-commits] r12107 - Catalyst-Devel/1.00/branches/helper_refactor/share/t

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue Dec 1 03:06:55 GMT 2009


Author: t0m
Date: 2009-12-01 03:06:55 +0000 (Tue, 01 Dec 2009)
New Revision: 12107

Modified:
   Catalyst-Devel/1.00/branches/helper_refactor/share/t/comptest.tt
Log:
Less extra whitespace, use done_testing rather than have a test count

Modified: Catalyst-Devel/1.00/branches/helper_refactor/share/t/comptest.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/t/comptest.tt	2009-12-01 03:04:21 UTC (rev 12106)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/t/comptest.tt	2009-12-01 03:06:55 UTC (rev 12107)
@@ -11,17 +11,17 @@
 ok( my $mech = Test::WWW::Mechanize::Catalyst->new, 'Created mech object' );
 
 $mech->get_ok( 'http://localhost[% uri %]' );
-[% ELSE %]use Test::More tests => 3;
+[%- ELSE %]use Test::More;
 
 BEGIN { use_ok 'Catalyst::Test', '[% app %]' }
 BEGIN { use_ok '[% class %]' }
 
 ok( request('[% uri %]')->is_success, 'Request should succeed' );
-[% END %]
-[% ELSE %]use Test::More tests => 1;
+[%- END -%]
+[% ELSE %]use Test::More;
 
 BEGIN { use_ok '[% class %]' }
-[% END %]
+[% END -%]
 
 done_testing();
 1;




More information about the Catalyst-commits mailing list