Mercurial > hg > nginx-tests
comparison smtp-greeting-delay.t @ 28:8f1519472ece
Tests: unbreak and extend has() functionality.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 10 Oct 2008 20:23:39 +0400 |
parents | fb94a224fef2 |
children | bd1a5e92d0c0 |
comparison
equal
deleted
inserted
replaced
27:fb94a224fef2 | 28:8f1519472ece |
---|---|
21 ############################################################################### | 21 ############################################################################### |
22 | 22 |
23 select STDERR; $| = 1; | 23 select STDERR; $| = 1; |
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 my $t = Test::Nginx->new()->has('mail', plan => 2) | 26 my $t = Test::Nginx->new()->has('mail')->plan(2) |
27 ->write_file_expand('nginx.conf', <<'EOF')->run(); | 27 ->write_file_expand('nginx.conf', <<'EOF')->run(); |
28 | 28 |
29 master_process off; | 29 master_process off; |
30 daemon off; | 30 daemon off; |
31 | 31 |