Mercurial > hg > nginx-tests
diff lib/Test/Nginx.pm @ 601:3a9a7b4f27f0
Tests: properly skip tests if run without IO::Uncompress::Gunzip.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 04 Jun 2015 13:30:52 +0300 |
parents | 355f2d5ff60f |
children | 58a67c40a761 |
line wrap: on
line diff
--- a/lib/Test/Nginx.pm Tue Jun 02 12:44:47 2015 +0300 +++ b/lib/Test/Nginx.pm Thu Jun 04 13:30:52 2015 +0300 @@ -622,7 +622,7 @@ 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);