diff stream_ssl_preread_protocol.t @ 1535:144c6ce732e4

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 02 Dec 2019 14:56:37 +0300
parents 71f964c077bf
children f3ba4c74de31
line wrap: on
line diff
--- a/stream_ssl_preread_protocol.t
+++ b/stream_ssl_preread_protocol.t
@@ -23,7 +23,7 @@ select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()->has(qw/stream stream_ssl_preread stream_return/)
-	->write_file_expand('nginx.conf', <<'EOF');
+	->write_file_expand('nginx.conf', <<'EOF')->plan(7)->run();
 
 %%TEST_GLOBALS%%
 
@@ -42,8 +42,6 @@ stream {
 
 EOF
 
-$t->try_run('no ssl_preread_protocol')->plan(7);
-
 ###############################################################################
 
 is(get('SSLv3'), 'SSLv3', 'client hello SSLv3');