Mercurial > hg > nginx-tests
changeset 32:18296293d18a
Tests: don't call methods before new().
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 14 Oct 2008 02:17:36 +0400 |
parents | baf9c51d166c |
children | 4f57d57543e1 |
files | ssi-include-big.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ssi-include-big.t Sat Oct 11 22:22:49 2008 +0400 +++ b/ssi-include-big.t Tue Oct 14 02:17:36 2008 +0400 @@ -21,7 +21,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->has('rewrite')->plan(3)->new(); +my $t = Test::Nginx->new()->has('rewrite')->plan(3); $t->write_file_expand('nginx.conf', <<'EOF');