Mercurial > hg > nginx-tests
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 Fri Oct 30 22:16:53 2015 +0300 +++ b/gunzip.t Thu Nov 05 12:53:37 2015 +0300 @@ -22,7 +22,7 @@ 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 Fri Oct 30 22:16:53 2015 +0300 +++ b/gunzip_perl.t Thu Nov 05 12:53:37 2015 +0300 @@ -22,7 +22,7 @@ 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 Fri Oct 30 22:16:53 2015 +0300 +++ b/gunzip_ssi.t Thu Nov 05 12:53:37 2015 +0300 @@ -22,7 +22,7 @@ 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 Fri Oct 30 22:16:53 2015 +0300 +++ b/gunzip_static.t Thu Nov 05 12:53:37 2015 +0300 @@ -23,7 +23,7 @@ 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 Fri Oct 30 22:16:53 2015 +0300 +++ b/perl_gzip.t Thu Nov 05 12:53:37 2015 +0300 @@ -22,7 +22,7 @@ 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');