Skip to content

Commit

Permalink
Workaround for TAP syntax error
Browse files Browse the repository at this point in the history
Then all tests successful!
  • Loading branch information
spiritloose committed Oct 16, 2009
1 parent 0e90b5f commit 4b4d6aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/suite.t
Expand Up @@ -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.