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