perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Re: [patch] Apache::Test - taking the pain away
Date Mon, 04 Oct 2010 17:47:09 GMT
Hi Fred,

On Thursday, September 30, 2010 03:39:04 Fred Moyer wrote:
> Here's my attempt at removing the interactive and custom config, and
> instead gathering all configuration data from the current environment.

With Test::More 0.96 I get 2 prototype mismatches:

Prototype mismatch: sub Apache::Test::ok ($;$$) vs ($;$) at 
/home/r2/work/mp2/trunk/Apache-Test/t/../lib/Apache/Test.pm line 88
Prototype mismatch: sub Apache::Test::skip ($;$$$) vs none at 
/home/r2/work/mp2/trunk/Apache-Test/t/../lib/Apache/Test.pm line 88

Then sometimes t/more/03testpm.t fails apparently if it hits the same 
interpreter again, see the "ok 2" below where it should read "ok 1".

1..1
# Running under perl version 5.012001 for linux
# Current time local: Mon Oct  4 19:43:03 2010
# Current time GMT:   Mon Oct  4 17:43:03 2010
# Using Test.pm version 1.25_02
# Using Apache/Test.pm version 1.34
# testing : called Apache::Test::ok()
# expected: 1
# received: 1
ok 1
ok
t/more/02testmore.t .. 
1..2
# Using Apache/Test.pm version 1.34
ok 1 - called Test::More::is()
ok 2 - called Test::More::like()
ok
t/more/03testpm.t .... 
1..1
# Using Apache/Test.pm version 1.34
# testing : called Apache::Test::ok()
# expected: 1
# received: 1
ok 2
All 1 subtests passed 
t/more/04testmore.t .. 
1..2
# Using Apache/Test.pm version 1.34
ok 1 - called Test::More::is()
ok 2 - called Test::More::like()
ok


Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message