diff js_headers.t @ 1776:f89770df737a

Tests: removed njs version checks older than 0.6.0.
author Dmitry Volyntsev <xeioex@nginx.com>
date Wed, 13 Jul 2022 14:55:55 -0700
parents eacfd2b64b71
children 410072f42157
line wrap: on
line diff
--- a/js_headers.t
+++ b/js_headers.t
@@ -429,10 +429,6 @@ unlike(http_get('/hdr_out?bar=empty'), q
 unlike(http_get('/hdr_out?foo='), qr/Foo:/, 'r.headersOut no value');
 unlike(http_get('/hdr_out?foo'), qr/Foo:/, 'r.headersOut no value 2');
 
-TODO: {
-local $TODO = 'not yet'
-	unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.4.0';
-
 like(http_get('/content_length_keys'), qr/B:true/, 'Content-Length in keys');
 like(http_get('/content_length_arr'), qr/Content-Length: 3/,
 	'set Content-Length arr');
@@ -465,8 +461,6 @@ like(http_get('/hdr_out_set_cookie'), qr
 unlike(http_get('/hdr_out_set_cookie'), qr/Set-Cookie: [abe]/,
 	'set_cookie3');
 
-}
-
 like(http(
 	'GET /hdr_in HTTP/1.0' . CRLF
 	. 'Cookie: foo' . CRLF
@@ -507,10 +501,6 @@ like(http(
 	. 'Host: localhost' . CRLF . CRLF
 ), qr/content-type: bar1(?!,\s?bar2)/, 'r.headersIn duplicate single 2');
 
-TODO: {
-local $TODO = 'not yet'
-	unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.4.1';
-
 like(http(
 	'GET /hdr_in HTTP/1.0' . CRLF
 	. 'Foo: bar1' . CRLF
@@ -527,8 +517,6 @@ like(http(
 
 like(http_get('/raw_hdr_out?filter=a'), qr/raw: foo|bar/, 'r.rawHeadersOut');
 
-}
-
 like(http(
 	'GET /hdr_sorted_keys?in=1 HTTP/1.0' . CRLF
 	. 'Cookie: foo1' . CRLF