Mercurial > hg > nginx-tests
comparison gunzip_ssi.t @ 773:c877f91a71b4
Tests: style cleanup.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 05 Nov 2015 12:53:37 +0300 |
parents | 6a0d934950bc |
children | adc32621fb09 |
comparison
equal
deleted
inserted
replaced
772:cab9f60e561e | 773:c877f91a71b4 |
---|---|
20 | 20 |
21 select STDERR; $| = 1; | 21 select STDERR; $| = 1; |
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | 23 |
24 eval { require IO::Compress::Gzip; }; | 24 eval { require IO::Compress::Gzip; }; |
25 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; | 25 plan(skip_all => "IO::Compress::Gzip not found") if $@; |
26 | 26 |
27 my $t = Test::Nginx->new()->has(qw/http gunzip ssi proxy gzip_static/) | 27 my $t = Test::Nginx->new()->has(qw/http gunzip ssi proxy gzip_static/) |
28 ->plan(4); | 28 ->plan(4); |
29 | 29 |
30 $t->write_file_expand('nginx.conf', <<'EOF'); | 30 $t->write_file_expand('nginx.conf', <<'EOF'); |