use Test::More tests => 16;
use Test::Fatal;
-use Test::NoWarnings;
+use Test::NoWarnings 1.04 ':early';
{
package MyClass;
}
use Test::Fatal;
-use Test::NoWarnings;
+use Test::NoWarnings 1.04 ':early';
plan tests => 4;
ok( (my $instance = MyClass->new), 'instance' );
use Test::More tests => 16;
use Test::Fatal;
-use Test::NoWarnings;
+use Test::NoWarnings 1.04 ':early';
{
package MyRole;
};
plan tests => 12;
-use Test::NoWarnings;
+use Test::NoWarnings 1.04 ':early';
eval <<'EOF';
package Role;