Subject: | Module needs to use Test::Builder->new() instead of create() |
Hello,
I thought this was a cool module ( I saw you upload 0.0.3 to PAUSE )
and wanted to give it a shot. Due to the way my testsuite is setup, I
run all tests under one test. This module uses create() from
Test::Builder and it breaks my testsuite.
The fix is simply to use new(), the change doesn't make Test-NoPlan
fail it's testsuite but now my testsuite passes! Thanks again for this
cool module!
ok 1 - 't/1_load.t' has 'no_plan' set
ok 2 - 't/apocalypse.t' has 'no_plan' set
not ok 542 - block 'Test::Apocalypse::NoPlan' expected 2 test(s) and ran 0
# Running 'Test::Apocalypse::NoPlan' tests...
# Failed test 'block 'Test::Apocalypse::NoPlan' expected 2 test(s) and
ran 0'
...
Parse errors: Tests out of sequence. Found (1) but expected (542)
Tests out of sequence. Found (2) but expected (543)
Tests out of sequence. Found (542) but expected (544)
--
~Apocalypse