# HG changeset patch # User Sergey Kandaurov # Date 1433413852 -10800 # Node ID 3a9a7b4f27f0edfe6447a91da5fae4da83082c70 # Parent 3832869ba854ed4e567b754c60be792aaaec7387 Tests: properly skip tests if run without IO::Uncompress::Gunzip. diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm --- a/lib/Test/Nginx.pm +++ b/lib/Test/Nginx.pm @@ -622,7 +622,7 @@ sub http_gzip_like { SKIP: { eval { require IO::Uncompress::Gunzip; }; - Test::More->builder->skip( + Test::More::skip( "IO::Uncompress::Gunzip not installed", 1) if $@; my $in = http_content($text);