diff proxy-cache.t @ 104:8bc9de6559a1

Tests: add gzip module checks.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 13 Oct 2009 02:17:52 +0400
parents 6303927c18d2
children 7a712d3909ba
line wrap: on
line diff
--- a/proxy-cache.t
+++ b/proxy-cache.t
@@ -9,7 +9,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 9;
+use Test::More;
 
 BEGIN { use FindBin; chdir($FindBin::Bin); }
 
@@ -21,7 +21,7 @@ use Test::Nginx qw/ :DEFAULT :gzip /;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new();
+my $t = Test::Nginx->new()->has('gzip')->plan(9);
 
 $t->write_file_expand('nginx.conf', <<'EOF');