diff stream_limit_conn.t @ 866:5048b8f0fedd

Tests: removed try_run() checks for legacy versions.
author Andrey Zelenkov <zelenkov@nginx.com>
date Thu, 10 Mar 2016 19:58:01 +0300
parents 58a67c40a761
children e9064d691790
line wrap: on
line diff
--- a/stream_limit_conn.t
+++ b/stream_limit_conn.t
@@ -23,7 +23,7 @@ select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()->has(qw/http stream stream_limit_conn shmem/)
-	->write_file_expand('nginx.conf', <<'EOF');
+	->plan(8)->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
 
@@ -81,7 +81,7 @@ http {
 EOF
 
 $t->write_file('index.html', '');
-$t->try_run('no stream limit_conn')->plan(8);
+$t->run();
 
 ###############################################################################