Subject: | testing before planning won't work |
using Test::More v0.71 ...
$ make test
t/01-use.....ok
t/02-pod.....skipped
all skipped: set TEST_POD to enable this test
t/05-core....You tried to run a test without a plan at t/05-core.t line 9.
BEGIN failed--compilation aborted at t/05-core.t line 9.
The issue is that you're trying to run the "use_ok" test *before*
setting up the test plan.
A quick fix would be:
$ perl -pi -e '
s{^ ( \s* plan \s+ tests ) }{# $1}x;
s{^ ( \s* use \s+ Test::More ) \s* ; }{$1 tests => 19;}x;
' t/05-core.t