commit | 924b56e27b52e48788466de08358ada4c979e13b | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Tue Oct 14 02:17:36 2008 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Tue Oct 14 02:17:36 2008 +0400 |
tree | 37e6c8ed69fbb13fb9ead408b3273e4f2bfc872c | |
parent | 46f1b49f8cc9925b5099501bb61c20b44fc84751 [diff] |
Tests: don't call methods before new().
diff --git a/ssi-include-big.t b/ssi-include-big.t index 5d65f15..d132794 100644 --- a/ssi-include-big.t +++ b/ssi-include-big.t
@@ -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');