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
+++ 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);