Mercurial > hg > nginx-tests
diff perl-gzip.t @ 121:8ac1faaddd2c
Tests: better handle various configure arguments.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 26 Dec 2009 16:06:17 +0300 |
parents | 4bf7a819358c |
children |
line wrap: on
line diff
--- a/perl-gzip.t Thu Dec 24 16:54:43 2009 +0300 +++ b/perl-gzip.t Sat Dec 26 16:06:17 2009 +0300 @@ -24,7 +24,7 @@ eval { require IO::Compress::Gzip; }; Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; -my $t = Test::Nginx->new()->has('perl')->has('gzip')->plan(2) +my $t = Test::Nginx->new()->has(qw/http perl gzip/)->plan(2) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%