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
+++ b/ssi-include-big.t
@@ -21,7 +21,7 @@ use Test::Nginx;
 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');