[Apache-dispatch-devel] SF.net SVN: apache-dispatch: [57] trunk/t
Brought to you by:
geoffrey_young,
phred_moyer
|
From: <phr...@us...> - 2007-08-06 00:05:55
|
Revision: 57
http://apache-dispatch.svn.sourceforge.net/apache-dispatch/?rev=57&view=rev
Author: phred_moyer
Date: 2007-08-05 17:05:58 -0700 (Sun, 05 Aug 2007)
Log Message:
-----------
Use -withtestmore instead of :withtestmore. The apache::test documentation
seemed to suggest that -withtestmore was for server-based tests, but it
looks like using it for client side tests allows us to avoid the extra
call to 'use Test::More'. Thanks to Geoff for the spot.
Modified Paths:
--------------
trunk/t/01plain.t
trunk/t/02extras.t
trunk/t/03filter.t
trunk/t/04oo.t
Modified: trunk/t/01plain.t
===================================================================
--- trunk/t/01plain.t 2007-08-05 21:04:57 UTC (rev 56)
+++ trunk/t/01plain.t 2007-08-06 00:05:58 UTC (rev 57)
@@ -1,9 +1,8 @@
use strict;
use warnings FATAL => 'all';
-use Apache::Test qw( :withtestmore );
+use Apache::Test qw( -withtestmore );
use Apache::TestRequest qw(GET GET_OK);
-use Test::More;
plan tests => 5, need_lwp;
Modified: trunk/t/02extras.t
===================================================================
--- trunk/t/02extras.t 2007-08-05 21:04:57 UTC (rev 56)
+++ trunk/t/02extras.t 2007-08-06 00:05:58 UTC (rev 57)
@@ -1,9 +1,8 @@
use strict;
use warnings FATAL => 'all';
-use Apache::Test qw( :withtestmore );
+use Apache::Test qw( -withtestmore );
use Apache::TestRequest qw(GET);
-use Test::More;
plan tests => 5, need_lwp;
Modified: trunk/t/03filter.t
===================================================================
--- trunk/t/03filter.t 2007-08-05 21:04:57 UTC (rev 56)
+++ trunk/t/03filter.t 2007-08-06 00:05:58 UTC (rev 57)
@@ -1,9 +1,8 @@
use strict;
use warnings FATAL => 'all';
-use Apache::Test qw( :withtestmore );
+use Apache::Test qw( -withtestmore );
use Apache::TestRequest qw(GET);
-use Test::More;
# figure out what version of apache we have we have
my $httpd = Apache::Test::vars('httpd');
Modified: trunk/t/04oo.t
===================================================================
--- trunk/t/04oo.t 2007-08-05 21:04:57 UTC (rev 56)
+++ trunk/t/04oo.t 2007-08-06 00:05:58 UTC (rev 57)
@@ -1,7 +1,7 @@
use strict;
use warnings FATAL => 'all';
-use Apache::Test qw(:withtestmore );
+use Apache::Test qw( -withtestmore );
use Apache::TestRequest qw(GET);
use Test::More;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|