Mercurial > hg > nginx-tests
diff proxy.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 | 1c0ec30614c6 |
children | c0ae29632905 |
line wrap: on
line diff
--- a/proxy.t +++ b/proxy.t @@ -9,7 +9,7 @@ use warnings; use strict; -use Test::More tests => 3; +use Test::More; BEGIN { use FindBin; chdir($FindBin::Bin); } @@ -21,7 +21,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new(); +my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(3); $t->write_file_expand('nginx.conf', <<'EOF');