perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: svn commit: r202272 - /perl/modperl/trunk/t/apache/content_length_header.t
Date Tue, 28 Jun 2005 20:14:08 GMT
geoff@apache.org wrote:

>Author: geoff
>Date: Tue Jun 28 12:27:07 2005
>New Revision: 202272
>
>URL: http://svn.apache.org/viewcvs?rev=202272&view=rev
>Log:
>skip on 2.1 until I have the time to figure out what changed
>
>Modified:
>    perl/modperl/trunk/t/apache/content_length_header.t
>
>Modified: perl/modperl/trunk/t/apache/content_length_header.t
>URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/t/apache/content_length_header.t?rev=202272&r1=202271&r2=202272&view=diff
>==============================================================================
>--- perl/modperl/trunk/t/apache/content_length_header.t (original)
>+++ perl/modperl/trunk/t/apache/content_length_header.t Tue Jun 28 12:27:07 2005
>@@ -5,7 +5,10 @@
> use Apache::TestUtil;
> use Apache::TestRequest;
> 
>-plan tests => 12 * 2 + 3;
>+my $skip = skip_reason('investigating 2.1 C-L behaviors')
>+    if have_min_apache_version(2.1);
>+
>+plan tests => 12 * 2 + 3, $skip;
> 
> my $location = "/TestApache__content_length_header";
> 
>
>  
>
Isn't it an error to write an "if" on a "my" (variable declaration line) 
like the above

$skip = have_min_apache_version(2.1) ? skip_reason('investigating 2.1 
C-L behaviors') : '';

or the like ?

-- 
END 
---------------------------------------------------------
    What doesn't kill us can only make us stronger.
               Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
     http://www.liquidityservicesinc.com


Mime
View raw message