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