use strict;
-use warnings;
+use warnings FATAL => 'all';
# respect the configfile value passed into the constructor.
my $obj = Foo->new_with_options(configfile => $configfile);
is(
- $obj->configfile,
+ path($obj->configfile),
$configfile,
'configfile value is used from the constructor',
);