Subject: | Test::NoWarnings does not works with done_testing. |
Code: ---------------------------------------------
use strict;
use warnings;
use Test::More;
use Test::NoWarnings;
note "Test::NoWarnings: $Test::NoWarnings::VERSION";
ok 1;
done_testing;
Output -------------------------------------------------
# Test::NoWarnings: 1.02
ok 1
1..1
ok 2 - no warnings
# Looks like you planned 1 test but ran 2.