diff body_chunked.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents 27237569776f
children 6c03c329ed95
line wrap: on
line diff
--- a/body_chunked.t
+++ b/body_chunked.t
@@ -136,9 +136,6 @@ like(http_get_body('/discard', '01234567
 
 # invalid chunks
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.17.4');
-
 like(
 	http(
 		'GET / HTTP/1.1' . CRLF
@@ -165,8 +162,6 @@ like(
 	qr/400 Bad/, 'runaway chunk discard'
 );
 
-}
-
 # proxy_next_upstream
 
 like(http_get_body('/next', '0123456789'),
@@ -174,17 +169,12 @@ like(http_get_body('/next', '0123456789'
 
 # invalid Transfer-Encoding
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.17.9');
-
 like(http_transfer_encoding('identity'), qr/501 Not Implemented/,
 	'transfer encoding identity');
 
 like(http_transfer_encoding("chunked\nTransfer-Encoding: chunked"),
 	qr/400 Bad/, 'transfer encoding repeat');
 
-}
-
 like(http_transfer_encoding('chunked, identity'), qr/501 Not Implemented/,
 	'transfer encoding list');