comparison gunzip_perl.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 perl/)->plan(2) 27 my $t = Test::Nginx->new()->has(qw/http gunzip perl/)->plan(2)
28 ->write_file_expand('nginx.conf', <<'EOF'); 28 ->write_file_expand('nginx.conf', <<'EOF');
29 29
30 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%