diff http_host.t @ 1937:2a0a6035a1af

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 25 Aug 2023 18:12:08 +0400
parents c48b2b0b8c2a
children
line wrap: on
line diff
--- a/http_host.t
+++ b/http_host.t
@@ -170,14 +170,8 @@ is(http_host_header('123.40.56.78:9000:8
 	'double port hack');
 
 like(http_host_header("localhost\nHost: again", 1), qr/ 400 /, 'host repeat');
-
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.21.1');
-
 like(http_host_header("localhost\x02", 1), qr/ 400 /, 'control');
 
-}
-
 ###############################################################################
 
 sub http_host_header {