diff http-location.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 18fc08c160ce
children
line wrap: on
line diff
--- a/http-location.t
+++ b/http-location.t
@@ -21,7 +21,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has('rewrite')->plan(8)
+my $t = Test::Nginx->new()->has(qw/http rewrite/)->plan(8)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%