Mercurial > hg > nginx-tests
changeset 7:9eb509695651
Tests: drop our own CRLF constant, use Socket's one instead.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 08 Sep 2008 06:08:38 +0400 |
parents | 8813a78ab8b5 |
children | a58a62e9d695 |
files | _common.pm smtp.t |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/_common.pm Sun Sep 07 19:06:49 2008 +0400 +++ b/_common.pm Mon Sep 08 06:08:38 2008 +0400 @@ -12,15 +12,14 @@ use base qw/ Exporter /; our @EXPORT = qw/ start_nginx smtp_connect smtp_send smtp_read smtp_check - smtp_ok log_in log_out CRLF http /; + smtp_ok log_in log_out http /; ############################################################################### use Test::More; use File::Temp qw/ tempdir /; use IO::Socket; - -use constant CRLF => "\x0D\x0A"; +use Socket qw/ CRLF /; our $testdir; our $s;