changeset 773:c877f91a71b4

Tests: style cleanup.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 05 Nov 2015 12:53:37 +0300
parents cab9f60e561e
children adc32621fb09
files gunzip.t gunzip_perl.t gunzip_ssi.t gunzip_static.t perl_gzip.t
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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');
--- 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);
--- 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/);
 
--- 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');