Mercurial > hg > nginx-tests
diff perl.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 | c0ae29632905 |
line wrap: on
line diff
--- a/perl.t Thu Dec 24 16:54:43 2009 +0300 +++ b/perl.t Sat Dec 26 16:06:17 2009 +0300 @@ -21,7 +21,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has('perl')->has('rewrite')->plan(1) +my $t = Test::Nginx->new()->has(qw/http perl rewrite/)->plan(1) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%