sanko / net-bittorrent

Perl based BitTorrent module available on CPAN
http://sankorobinson.com/net-bittorrent/
Other
13 stars 3 forks source link

Module will not install when the new Test::Builder is released #4

Open exodist opened 9 years ago

exodist commented 9 years ago

The new Test::Builder that will be released in the near future will break this modules tests. The problem is that the test suite uses direct access to the hash elements inside Test::Builder. Most of the keys in the Test::Builder object are no longer present.

Example from a test file: $test_builder->{q[Expected_Tests]} - $test_builder->{q[Curr_Test]}

These keys have had public methods available for some time:

Using these methods would have prevented the issue, and will fix the issue moving forward.

exodist commented 9 years ago

https://github.com/Test-More/test-more/issues/495 for the Test::Simple ticket related to this