diff limit_conn_complex.t @ 568:907e89fba9c3

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Sun, 03 May 2015 12:45:09 +0300
parents c94fc8e41f5f
children 2cd00179f4b2
line wrap: on
line diff
--- a/limit_conn_complex.t
+++ b/limit_conn_complex.t
@@ -26,7 +26,7 @@ select STDOUT; $| = 1;
 
 plan(skip_all => 'win32') if $^O eq 'MSWin32';
 
-my $t = Test::Nginx->new()->has(qw/http proxy limit_conn limit_req/);
+my $t = Test::Nginx->new()->has(qw/http proxy limit_conn limit_req/)->plan(4);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
@@ -64,7 +64,7 @@ http {
 
 EOF
 
-$t->try_run('no complex value')->plan(4);
+$t->run();
 
 ###############################################################################