Skip to content

Commit

Permalink
fixed fail tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xaicron committed Jul 13, 2011
1 parent 12e292d commit 24f8f37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion t/02_parse_envfile.t
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ENV

subtest 'file not found' => sub {
eval { App::envfile->new->parse_envfile('foo.bar') };
like $@, qr/No such file or directory/;
ok $@, 'throw error';
};

done_testing;
2 changes: 2 additions & 0 deletions t/03_run_with_env.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ use strict;
use warnings;
use Test::More;

plan skip_all => 'MSWin32 not process' if $^O eq 'MSWin32';

BEGIN {
# capture exec()
*CORE::GLOBAL::exec = sub {
Expand Down

0 comments on commit 24f8f37

Please sign in to comment.