# HG changeset patch # User Sergey Kandaurov # Date 1446717217 -10800 # Node ID c877f91a71b42dc27b0bfd20e1db6a1f378a2871 # Parent cab9f60e561e5d1cd9e82dc6fc0342da8442accb Tests: style cleanup. diff --git a/gunzip.t b/gunzip.t --- a/gunzip.t +++ b/gunzip.t @@ -22,7 +22,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; eval { require IO::Compress::Gzip; }; -Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; +plan(skip_all => "IO::Compress::Gzip not found") if $@; my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/) ->plan(13); diff --git a/gunzip_perl.t b/gunzip_perl.t --- a/gunzip_perl.t +++ b/gunzip_perl.t @@ -22,7 +22,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; eval { require IO::Compress::Gzip; }; -Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; +plan(skip_all => "IO::Compress::Gzip not found") if $@; my $t = Test::Nginx->new()->has(qw/http gunzip perl/)->plan(2) ->write_file_expand('nginx.conf', <<'EOF'); diff --git a/gunzip_ssi.t b/gunzip_ssi.t --- a/gunzip_ssi.t +++ b/gunzip_ssi.t @@ -22,7 +22,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; eval { require IO::Compress::Gzip; }; -Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; +plan(skip_all => "IO::Compress::Gzip not found") if $@; my $t = Test::Nginx->new()->has(qw/http gunzip ssi proxy gzip_static/) ->plan(4); diff --git a/gunzip_static.t b/gunzip_static.t --- a/gunzip_static.t +++ b/gunzip_static.t @@ -23,7 +23,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; eval { require IO::Compress::Gzip; }; -Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; +plan(skip_all => "IO::Compress::Gzip not found") if $@; my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/); diff --git a/perl_gzip.t b/perl_gzip.t --- a/perl_gzip.t +++ b/perl_gzip.t @@ -22,7 +22,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; eval { require IO::Compress::Gzip; }; -Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; +plan(skip_all => "IO::Compress::Gzip not found") if $@; my $t = Test::Nginx->new()->has(qw/http perl gzip/)->plan(2) ->write_file_expand('nginx.conf', <<'EOF');