# HG changeset patch # User Andrey Zelenkov # Date 1436208611 -10800 # Node ID b70df69242909d17e9135c4ffe4e869e549652a0 # Parent b241c3c0119b5660106e7b9d98e4559d715116df Tests: removed unnecessary imports, lifted up skip condition. No functional changes. diff --git a/error_log.t b/error_log.t --- a/error_log.t +++ b/error_log.t @@ -22,11 +22,10 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http limit_req/); - plan(skip_all => 'win32') if $^O eq 'MSWin32'; -$t->plan(25)->write_file_expand('nginx.conf', <<'EOF'); +my $t = Test::Nginx->new()->has(qw/http limit_req/) + ->plan(25)->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% diff --git a/mail_imap.t b/mail_imap.t --- a/mail_imap.t +++ b/mail_imap.t @@ -11,7 +11,6 @@ use strict; use Test::More; -use IO::Socket; use MIME::Base64; BEGIN { use FindBin; chdir($FindBin::Bin); } diff --git a/mail_imap_ssl.t b/mail_imap_ssl.t --- a/mail_imap_ssl.t +++ b/mail_imap_ssl.t @@ -13,7 +13,6 @@ use strict; use Test::More; -use IO::Socket; use MIME::Base64; BEGIN { use FindBin; chdir($FindBin::Bin); } diff --git a/mail_pop3.t b/mail_pop3.t --- a/mail_pop3.t +++ b/mail_pop3.t @@ -11,7 +11,6 @@ use strict; use Test::More; -use IO::Socket; use MIME::Base64; BEGIN { use FindBin; chdir($FindBin::Bin); }