X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fpsgi_v2.t;h=c13f5e71b18419300594c481720a2381b3d0dbf3;hp=11aef5b3380c9c860e50161ae6e83fa83f27af6a;hb=a4a1a74a2f60ec587d1538aa910b08ef3977c8a9;hpb=1cbb6243533fc2d4b34997d2500a180cd4c48999 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'); } };