use warnings FATAL => 'all';
use Test::More tests => 2;
-use Test::NoWarnings 1.04 ':early';
+use Test::Warnings;
BEGIN {
use_ok('MooseX::ConfigFromFile');
use Test::More tests => 3;
use Test::Fatal;
-use Test::NoWarnings 1.04 ':early';
+use Test::Warnings;
{
package A;
use warnings FATAL => 'all';
use Test::More tests => 7;
-use Test::NoWarnings 1.04 ':early';
+use Test::Warnings;
use Test::Fatal;
my %config_from_file_args;
use warnings FATAL => 'all';
use Test::More tests => 2;
-use Test::NoWarnings 1.04 ':early';
+use Test::Warnings;
use Test::Without::Module 'MooseX::Getopt';
use Test::Requires 'MooseX::Getopt'; # skip all if not installed
use Test::More tests => 3;
-use Test::NoWarnings 1.04 ':early';
+use Test::Warnings;
{
package Foo::Options;
use Test::More tests => 49;
use Test::Fatal;
use Test::Deep '!blessed';
-use Test::NoWarnings 1.04 ':early';
+use Test::Warnings;
use Scalar::Util 'blessed';
my %loaded_file;