Author: stas Date: Wed Dec 1 21:17:21 2004 New Revision: 109451 URL: http://svn.apache.org/viewcvs?view=rev&rev=109451 Log: docs: be consistent at how need_* is invoked Contributed by: "Christopher H. Laco" <[EMAIL PROTECTED]>
Modified: httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm Modified: httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm?view=diff&rev=109451&p1=httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm&r1=109450&p2=httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm&r2=109451 ============================================================================== --- httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm (original) +++ httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/Test.pm Wed Dec 1 21:17:21 2004 @@ -604,7 +604,7 @@ the tests will be skipped if the function returns a false value. For example: - plan tests => 5, \&need_lwp; + plan tests => 5, need_lwp; the test will be skipped if LWP is not available @@ -654,13 +654,13 @@ =item need_http11 - plan tests => 5, &need_http11; + plan tests => 5, need_http11; Require HTTP/1.1 support. =item need_ssl - plan tests => 5, &need_ssl; + plan tests => 5, need_ssl; Require SSL support. @@ -668,13 +668,13 @@ =item need_lwp - plan tests => 5, &need_lwp; + plan tests => 5, need_lwp; Require LWP support. =item need_cgi - plan tests => 5, &need_cgi; + plan tests => 5, need_cgi; Requires mod_cgi or mod_cgid to be installed.