From: Matt S Trout Date: Tue, 25 Oct 2005 23:46:54 +0000 (+0000) Subject: - path_to.t fixed on Windows, thanks to LTjake X-Git-Tag: 5.7099_04~1102 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5b19d407598463bab9b89a3e73e84d3282c50903 - path_to.t fixed on Windows, thanks to LTjake --- diff --git a/t/unit/core/path_to.t b/t/unit/core/path_to.t index a21d7f9..c675739 100644 --- a/t/unit/core/path_to.t +++ b/t/unit/core/path_to.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 3; +use Test::More; use Test::MockObject; my %non_unix = ( @@ -17,7 +17,12 @@ my %non_unix = ( my $os = $non_unix{$^O} ? $^O : 'Unix'; -plan skip_all => 'tests require Unix' unless $os eq 'Unix'; +if( $os ne 'Unix' ) { + plan skip_all => 'tests require Unix'; +} +else { + plan tests => 3; +} my $context = Test::MockObject->new;