Permalink
Browse files

Workaround for TAP syntax error

Then all tests successful!
  • Loading branch information...
1 parent 0e90b5f commit 4b4d6aa4bd30a8eb51652f2c4e6e21556e593559 @spiritloose committed Oct 16, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 t/suite.t
View
@@ -7,8 +7,10 @@ require t::TestModPSGI;
BEGIN {
no warnings 'once';
$t::TestModPSGI::TestFile = __FILE__;
+ no warnings 'redefine';
+ *CalledClose::close = sub {}; # XXX: workaround for TAP syntax error
}
return Plack::Test::Suite->test_app_handler if t::TestModPSGI::running_in_mod_psgi();
Plack::Test::Suite->run_server_tests(\&t::TestModPSGI::run_httpd);
-done_testing();
+done_testing;

0 comments on commit 4b4d6aa

Please sign in to comment.