comparison error_log.t @ 623:b70df6924290

Tests: removed unnecessary imports, lifted up skip condition. No functional changes.
author Andrey Zelenkov <zelenkov@nginx.com>
date Mon, 06 Jul 2015 21:50:11 +0300
parents 071e8941e3bf
children e9064d691790
comparison
equal deleted inserted replaced
622:b241c3c0119b 623:b70df6924290
20 ############################################################################### 20 ###############################################################################
21 21
22 select STDERR; $| = 1; 22 select STDERR; $| = 1;
23 select STDOUT; $| = 1; 23 select STDOUT; $| = 1;
24 24
25 my $t = Test::Nginx->new()->has(qw/http limit_req/);
26
27 plan(skip_all => 'win32') if $^O eq 'MSWin32'; 25 plan(skip_all => 'win32') if $^O eq 'MSWin32';
28 26
29 $t->plan(25)->write_file_expand('nginx.conf', <<'EOF'); 27 my $t = Test::Nginx->new()->has(qw/http limit_req/)
28 ->plan(25)->write_file_expand('nginx.conf', <<'EOF');
30 29
31 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%
32 31
33 daemon off; 32 daemon off;
34 33