From: Eric Wong Date: Tue, 5 Apr 2016 03:31:31 +0000 (+0000) Subject: test: disable warning for Plack::Test::Impl X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07ba708d4d52f25f371b72801f0b00458944d634;p=thirdparty%2Fpublic-inbox.git test: disable warning for Plack::Test::Impl Not sure of a better way around this, but the Plack::Test manpage documents this variable so it should be supported. --- diff --git a/t/repobrowse_git_httpd.t b/t/repobrowse_git_httpd.t index a9eb0aabe..baa7be593 100644 --- a/t/repobrowse_git_httpd.t +++ b/t/repobrowse_git_httpd.t @@ -12,7 +12,10 @@ foreach my $mod (qw(Danga::Socket HTTP::Parser::XS HTTP::Date HTTP::Status plan skip_all => "$mod missing for repobrowse_git_httpd.t" if $@; } my $test = require './t/repobrowse_common_git.perl'; -$Plack::Test::Impl = 'ExternalServer'; +{ + no warnings 'once'; + $Plack::Test::Impl = 'ExternalServer'; +} use File::Temp qw/tempdir/; use Cwd qw/getcwd/; use IO::Socket;