Mercurial > hg > nginx-tests
diff proxy-noclose.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 | 5d31f920eda9 |
children |
line wrap: on
line diff
--- a/proxy-noclose.t +++ b/proxy-noclose.t @@ -18,7 +18,7 @@ use warnings; use strict; -use Test::More tests => 4; +use Test::More; use IO::Select; @@ -32,7 +32,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(4); $t->write_file_expand('nginx.conf', <<'EOF');