httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher H. Laco" <apache-t...@chrislaco.com>
Subject Re: Pickyness question
Date Tue, 30 Nov 2004 18:44:10 GMT
Christopher H. Laco wrote:
> Just because I'm like that. :-)
> I noticed in A-T/t/redirect.t we have:
> 
>     plan tests => 6, need_module('mod_alias.c') && &need_lwp;
> 
> Of course, I noticed this after skimming over the A-T pod again , where 
> it mentions:
> 
>     It's also important to mention to avoid using:
>         plan tests => 1, requirement1 && requirement2;
> 
> For that matter, sometimes I see:
> 
>     plan tests -> 1, need_lwp;
>     plan tests -> 1, &need_lwp;
>     plan tests -> 1, \&need_lwp;
> 
>  From a pure A-T coding standpoint, which is preferred?
> 
> -=Chris
> 
> 

Sigh. Of course I meant:

      plan tests => 1, need_lwp;
      plan tests => 1, &need_lwp;
      plan tests => 1, \&need_lwp;

Mime
View raw message