Permalink
Browse files

fix tests

  • Loading branch information...
1 parent c49ecf2 commit 095e783ccb104dfe5a87836fbcade1064e15a756 @miyagawa committed Jan 31, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 xt/Run.pm
  2. +1 −1 xt/vstring_pkg.t
View
2 xt/Run.pm
@@ -15,7 +15,7 @@ sub run {
my($stdout, $stderr, $exit) = capture {
system($^X, "./script/cpanm.PL", @notest, "--quiet", "--reinstall", @args);
};
- ::diag $stderr if $stderr;
+ ::diag($stderr) if $stderr;
return wantarray ? ($stdout, $stderr, $exit) : $stdout;
}
View
2 xt/vstring_pkg.t
@@ -3,7 +3,7 @@ use Test::More;
use xt::Run;
my $local_lib = "$ENV{PERL_CPANM_HOME}/perl5";
-run "-L", $local_lib, "Perl6::Str~v0.0.4";
+run "-L", $local_lib, "--notest", "Perl6::Str~v0.0.4";
like last_build_log, qr/installed Perl6-Str-v0\.0\./;
done_testing;

0 comments on commit 095e783

Please sign in to comment.