Subject: | Two tests are counting badly |
If Test::Pod::Coverage is installed then the pod-coverage test succeeds.
But if it isn't installed the test count in t/pod-coverage.t is off by one.
If DateTime is installed then the 01.methods.t test succeeds but if it
isn't installed then the test count is off by one.
One solution is to add the two dependencies.
Another solution is to count right which is difficult because at some
point in time Test::More could also not count right when use_ok within a
BEGIN block was involved. So this would involve a prereq declaration of
a higher Test::More than 0.
Or remove the use_ok within the BEGIN, which is always a good idea
because not only Ovid thinks that the concept of use_ok is broken.
Or whatever:)
Best seasonal regards,