Mercurial > hg > ngx_http_gunzip_filter_module
diff t/gunzip_memcached.t @ 21:c0301992025a draft default tip
Gunzip: tests cleanup.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 07 Sep 2012 19:38:56 +0400 |
parents | 1adc6718cc05 |
children |
line wrap: on
line diff
--- a/t/gunzip_memcached.t +++ b/t/gunzip_memcached.t @@ -10,10 +10,6 @@ use warnings; use strict; use Test::More; - -BEGIN { use FindBin; chdir($FindBin::Bin); } - -use lib 'lib'; use Test::Nginx qw/ :DEFAULT :gzip /; ############################################################################### @@ -27,12 +23,12 @@ plan(skip_all => 'Cache::Memcached not i eval { require IO::Compress::Gzip; }; plan(skip_all => "IO::Compress::Gzip not found") if $@; -my $t = Test::Nginx->new()->has(qw/http memcached/)->has_daemon('memcached') +my $t = Test::Nginx->new()->has(qw/http gunzip memcached/) + ->has_daemon('memcached') ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% -master_process off; daemon off; events {