Mercurial > hg > nginx-tests
diff js_subrequests.t @ 1520:9521130f6f22
Tests: js TODO adjusted.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Tue, 15 Oct 2019 19:36:25 +0300 |
parents | 34e86a28cabd |
children | 41dcbcf3381a |
line wrap: on
line diff
--- a/js_subrequests.t +++ b/js_subrequests.t @@ -526,23 +526,14 @@ http_get('/sr_except_failed_to_convert_a http_get('/sr_except_failed_to_convert_options_arg'); http_get('/sr_uri_except'); -TODO: { -local $TODO = 'not yet' - unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.4'; - is(get_json('/sr_js_in_sr_parent'), '{"e":"parent can only be returned for a subrequest"}', 'parent in subrequest js_content'); -todo_skip 'leaves coredump', 1 - unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.4'; - is(get_json('/sr_in_sr_callback'), '{"e":"subrequest can only be created for the primary request"}', 'subrequest for non-primary request'); -} - $t->stop(); ok(index($t->read_file('error.log'), 'callback is not a function') > 0,