X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F008_configfromfile.t;h=3e8dc4c79567885999fc27dbb7ec2983c4c62e2d;hp=e228d35a8d9206324ced5efdb0afce5e4ae5e8b9;hb=01788da45abc739c01d9c2a113c6101a60ae1da7;hpb=c6858912da6e23461db6e38193a39daa8eb85db5 diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index e228d35..3e8dc4c 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -47,8 +47,7 @@ use Test::NoWarnings 1.04 ':early'; optional_from_config => 'from_config_2', ); - my $cpath = Path::Tiny::path('/notused/default'); - if ( $file ne $cpath ) { + if ( $file ne Path::Tiny::path('/notused/default') ) { $config{config_from_override} = 1; }