changeset 1544:53ed2231403b

Tests: js TODO adjusted.
author Dmitry Volyntsev <xeioex@nginx.com>
date Thu, 16 Jan 2020 19:15:25 +0300
parents 0b97d431571f
children cde406e61e48
files js_subrequests.t stream_js.t stream_js_variables.t
diffstat 3 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/js_subrequests.t
+++ b/js_subrequests.t
@@ -432,15 +432,7 @@ is(get_json('/sr'), '[{"status":404,"uri
 is(get_json('/sr_args'), '{"h":"xxx"}', 'sr_args');
 is(get_json('/sr_options_args'), '{"h":"xxx"}', 'sr_options_args');
 is(get_json('/sr_options_method?m=POST'), '["POST"]', 'sr method POST');
-
-TODO: {
-local $TODO = 'not yet'
-	unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.3.3';
-
 is(get_json('/sr_options_method?m=PURGE'), '["PURGE"]', 'sr method PURGE');
-
-}
-
 is(get_json('/sr_options_body'), '["REQ-BODY"]', 'sr_options_body');
 is(get_json('/sr_options_method_head'), '{"c":200,"s":0}',
 	'sr_options_method_head');
--- a/stream_js.t
+++ b/stream_js.t
@@ -367,10 +367,6 @@ is(stream('127.0.0.1:' . port(8082))->re
 is(stream('127.0.0.1:' . port(8083))->read(), '', 'stream js unknown function');
 is(stream('127.0.0.1:' . port(8084))->read(), 'sess_unk=undefined', 's.unk');
 
-TODO: {
-local $TODO = 'not yet'
-	unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.4';
-
 is(stream('127.0.0.1:' . port(8086))->io('0'), '0122345',
 	'async handlers order');
 is(stream('127.0.0.1:' . port(8087))->io('#'), 'OK', 'js_access_undecided');
@@ -385,8 +381,6 @@ is(stream('127.0.0.1:' . port(8094))->io
 like(get('/p/return'), qr/foo/, 'js_filter_injected_header');
 is(stream('127.0.0.1:' . port(8096))->io('x'), 'z', 'js_filter_search');
 
-}
-
 stream('127.0.0.1:' . port(8097))->io('x');
 stream('127.0.0.1:' . port(8098))->io('x');
 stream('127.0.0.1:' . port(8099))->io('x');
--- a/stream_js_variables.t
+++ b/stream_js_variables.t
@@ -91,15 +91,9 @@ EOF
 
 ###############################################################################
 
-TODO: {
-local $TODO = 'not yet'
-	unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.8';
-
 is(stream('127.0.0.1:' . port(8081))->read(), 'test_var400', 'var set');
 is(stream('127.0.0.1:' . port(8082))->read(), 'not_found', 'not found set');
 
-}
-
 $t->stop();
 
 ###############################################################################