Skip to content
Browse files

Clean TAP output for t/61-plack-suite.t

  • Loading branch information...
1 parent 9857d4f commit fca46233ddc61a77fa3585ee4d118f8e2e547a48 @stash committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 t/61-plack-suite.t
View
6 t/61-plack-suite.t
@@ -12,7 +12,11 @@ use Feersum;
{
no warnings 'redefine';
- *Feersum::DIED = sub { diag "Feersum caught: ",@_ };
+ *Feersum::DIED = sub {
+ # for cleaner TAP output:
+ return if $_[0] =~ /Server shouldn't crash/;
+ diag "Feersum caught: ",@_;
+ };
}
use Plack::Test::Suite;

0 comments on commit fca4623

Please sign in to comment.
Something went wrong with that request. Please try again.