Permalink
Browse files

fixed fail tests

  • Loading branch information...
xaicron committed Jul 13, 2011
1 parent 12e292d commit 24f8f37dcfcaaae6c36934a8e80162c0654719d4
Showing with 3 additions and 1 deletion.
  1. +1 −1 t/02_parse_envfile.t
  2. +2 −0 t/03_run_with_env.t
View
@@ -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;
View
@@ -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 {

0 comments on commit 24f8f37

Please sign in to comment.