Because Test::Warnings runs a test of its own, so the harness is satisfied. Output of your test script using Test::Warnings under --verbose:
$ prove -lrv 11107390.t 11107390.t .. ok 1 - no (unexpected) warnings (via done_testing) 1..1 ok All tests successful.
Hope this helps!
In reply to Re^3: Unit test of script fails unless Test::Warnings is used?!
by 1nickt
in thread Unit test of script fails unless Test::Warnings is used?!
by wanna_code_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |