Mercurial > hg > nginx-tests
diff rewrite.t @ 1535:144c6ce732e4
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 02 Dec 2019 14:56:37 +0300 |
parents | 14bfd6643bbb |
children | 0902a4539c99 |
line wrap: on
line diff
--- a/rewrite.t +++ b/rewrite.t @@ -161,13 +161,8 @@ like(http_get('/return405'), qr!HTTP/1.1 # this used to result in 404, but was changed in 1.15.4 # to respond with 405 instead, much like a real error would do -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.15.4'); - like(http_get('/error404return405'), qr!HTTP/1.1 405!, 'error 404 return 405'); -} - # status code should be 405, and entity body is expected (vs. normal 204 # replies which doesn't expect to have body); use HTTP/1.1 for test # to make problem clear