Mercurial > hg > nginx-tests
comparison mail_smtp.t @ 343:e7dc8f4d0a4b
Tests: whitespace and spelling fixes.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 26 Sep 2013 12:51:21 +0400 |
parents | 6a0d934950bc |
children | c6b1430afc66 |
comparison
equal
deleted
inserted
replaced
342:86fa2a5a37ea | 343:e7dc8f4d0a4b |
---|---|
220 $s->check(qr/^5.. /, "bad rcpt to"); | 220 $s->check(qr/^5.. /, "bad rcpt to"); |
221 | 221 |
222 $s->send('RCPT TO:<test@example.com>'); | 222 $s->send('RCPT TO:<test@example.com>'); |
223 $s->ok('good rcpt to'); | 223 $s->ok('good rcpt to'); |
224 | 224 |
225 # Make sure command splitted into many packets processed correctly | 225 # Make sure command split into many packets processed correctly |
226 | 226 |
227 $s = Test::Nginx::SMTP->new(); | 227 $s = Test::Nginx::SMTP->new(); |
228 $s->read(); | 228 $s->read(); |
229 | 229 |
230 log_out('HEL'); | 230 log_out('HEL'); |
231 $s->print('HEL'); | 231 $s->print('HEL'); |
232 $s->send('O example.com'); | 232 $s->send('O example.com'); |
233 $s->ok('splitted command'); | 233 $s->ok('split command'); |
234 | 234 |
235 ############################################################################### | 235 ############################################################################### |