diff 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
line wrap: on
line diff
--- a/smtp-greeting-delay.t
+++ b/smtp-greeting-delay.t
@@ -23,7 +23,7 @@ use Test::Nginx::SMTP;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has('mail', plan => 2)
+my $t = Test::Nginx->new()->has('mail')->plan(2)
 	->write_file_expand('nginx.conf', <<'EOF')->run();
 
 master_process off;