use strict;
-use warnings;
+use warnings FATAL => 'all';
# respect the configfile value passed into the constructor.
use Test::Requires 'MooseX::SimpleConfig'; # skip all if not installed
use Test::More tests => 3;
-use Test::NoWarnings 1.04 ':early';
-use Path::Tiny;
+use Test::Warnings;
+use Path::Tiny 0.009;
# avoid warning if all we have installed is YAML or YAML::Syck - the user will
# see this eventually when he actually uses MooseX::SimpleConfig in his own
my $obj = Foo->new_with_options(configfile => $configfile);
is(
- $obj->configfile,
+ path($obj->configfile),
$configfile,
'configfile value is used from the constructor',
);