From: Karen Etheridge Date: Tue, 12 Feb 2013 04:50:33 +0000 (-0800) Subject: perform all path comparisons unix-style, to avoid win32 issues X-Git-Tag: v0.55~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=commitdiff_plain;h=e39374b57bb6d839ffff18af1ff25e07a52e1263 perform all path comparisons unix-style, to avoid win32 issues --- diff --git a/Changes b/Changes index 496cc06..1151d1b 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Perl extension MooseX-Getopt {{$NEXT}} + - fix broken tests on win32 with file comparisons 0.54 2013-02-09 16:25:32 PST-0800 - fix broken tests on win32 with file comparisons diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index 39798a2..ed742e2 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -114,7 +114,7 @@ my %constructor_args; ok( !$app->config_from_override, '... config_from_override false as expected' ); - is( $app->configfile, path('/notused/default'), + is( path($app->configfile), path('/notused/default'), '... configfile is /notused/default as expected' ); cmp_deeply( @@ -134,7 +134,7 @@ my %constructor_args; ok( !$app->config_from_override, '... config_from_override false as expected' ); - is( $app->configfile, path('/notused/default'), + is( path($app->configfile), path('/notused/default'), '... configfile is /notused/default as expected' ); cmp_deeply( @@ -189,7 +189,7 @@ my %constructor_args; ok( $app->config_from_override, '... config_from_override true as expected' ); - is( $app->configfile, path('/notused/override'), + is( path($app->configfile), path('/notused/override'), '... configfile is /notused/override as expected' ); cmp_deeply( @@ -208,7 +208,7 @@ my %constructor_args; ok( $app->config_from_override, '... config_from_override true as expected' ); - is( $app->configfile, path('/notused/override'), + is( path($app->configfile), path('/notused/override'), '... configfile is /notused/override as expected' ); cmp_deeply( @@ -227,7 +227,7 @@ my %constructor_args; ok( $app->config_from_override, '... config_from_override true as expected' ); - is( $app->configfile, path('/notused/override'), + is( path($app->configfile), path('/notused/override'), '... configfile is /notused as expected' ); cmp_deeply(