Subject: | testsuite warnings with Test::More >= 0.81_01 |
Hi,
Test::More 0.81_01 and higher versions provides the new_ok feature.
In PPI's testsuite, this subroutine is redefined in t/15_transform.t and
t/16_xml.t, and perl throws a warning (»Subroutine new_ok redefined ...«)
The attached patch against the http://svn.ali.as/cpan/trunk/PPI
repository silents these warnings using »no warnings 'redefine'«. A
better approach may be the testing of the $Test::More::VERSION variable.
Thanks, Frank
Subject: | patch |