about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/psgi_v2.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t
index 11aef5b3..c13f5e71 100644
--- a/t/psgi_v2.t
+++ b/t/psgi_v2.t
@@ -40,7 +40,11 @@ my $run_httpd = sub {
                 Plack::Test::ExternalServer::test_psgi(client => $client);
                 $td->join('TERM');
                 open my $fh, '<', $err or BAIL_OUT $!;
-                is(do { local $/; <$fh> }, '', 'no errors');
+                my $e = do { local $/; <$fh> };
+                if ($e =~ s/^Plack::Middleware::ReverseProxy missing,\n//gms) {
+                        $e =~ s/^URL generation for redirects .*\n//gms;
+                }
+                is($e, '', 'no errors');
         }
 };