Mercurial > hg > nginx-tests
diff http_uri.t @ 1693:5ac6efbe5552
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:18 +0300 |
parents | 7b80c8e0479a |
children | 9c79f41fdf9b |
line wrap: on
line diff
--- a/http_uri.t +++ b/http_uri.t @@ -64,30 +64,18 @@ like(http_get('/foo/bar/..'), qr!x /foo/ like(http_get('http://localhost'), qr!x / x!, 'absolute'); like(http_get('http://localhost/'), qr!x / x!, 'absolute slash'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.19.6'); - like(http_get('http://localhost?args'), qr!x / x.*y args y!ms, 'absolute args'); like(http_get('http://localhost?args#frag'), qr!x / x.*y args y!ms, 'absolute args and frag'); -} - like(http_get('http://localhost:8080'), qr!x / x!, 'port'); like(http_get('http://localhost:8080/'), qr!x / x!, 'port slash'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.19.6'); - like(http_get('http://localhost:8080?args'), qr!x / x.*y args y!ms, 'port args'); like(http_get('http://localhost:8080?args#frag'), qr!x / x.*y args y!ms, 'port args and frag'); -} - like(http_get('/ /'), qr!x / / x!, 'space'); ###############################################################################