You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Torsten Förtsch <to...@gmx.net> on 2010/10/04 19:47:09 UTC
Re: [patch] Apache::Test - taking the pain away
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