Mercurial > hg > nginx-tests
changeset 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 | 3832869ba854 |
children | 1177e4dd249a |
files | lib/Test/Nginx.pm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);