On Nov 19, 2004, at 7:28 PM, Michael G Schwern wrote:
or if you're wedded to Test.pm
ok($got == $expected) or warn "got: $got";
I was just working on some new tests for a new feature I plan to send a
patch for and noticed that M::B is using Test.pm. Can we please, please
switch to Test::More? I was bit by Test.pm's weird semantics when this
test failed:
ok $build->can('foo');
But this one passed:
ok !!$build->can('foo');
It seems that Test::ok doesn't think that a code reference is a true
value!!
Can we please switch to Test::More?
Regards,
David
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
|