Mercurial > hg > nginx-tests
changeset 1524:9bc1ca067449
Tests: js_return.t TODO remnants for old njs versions removed.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 22 Oct 2019 19:18:00 +0300 |
parents | 5a55da6aed13 |
children | ca0858ef7d3d |
files | js_return.t |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/js_return.t +++ b/js_return.t @@ -74,13 +74,6 @@ like(http_get('/?c=200'), qr/200 OK.*\x0 like(http_get('/?c=200&t=SEE-THIS'), qr/200 OK.*^SEE-THIS$/ms, 'return text'); like(http_get('/?c=301&t=path'), qr/ 301 .*Location: path/s, 'return redirect'); like(http_get('/?c=404'), qr/404 Not.*html/s, 'return error page'); - -TODO: { -my ($v) = http_get('/njs') =~ /^([.0-9]+)$/m; -local $TODO = 'not yet' unless $Config{archname} !~ /aarch64/; - like(http_get('/?c=inv'), qr/ 500 /, 'return invalid'); -} - ###############################################################################