Mercurial > hg > nginx-tests
comparison merge_slashes.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 | 420aaeb40c09 |
children |
comparison
equal
deleted
inserted
replaced
1692:f6795e2e6a4b | 1693:5ac6efbe5552 |
---|---|
50 | 50 |
51 EOF | 51 EOF |
52 | 52 |
53 ############################################################################### | 53 ############################################################################### |
54 | 54 |
55 local $TODO = 'not yet' unless $t->has_version('1.17.5'); | |
56 | |
57 like(http_get('/foo//../bar'), qr!x /foo/bar x!, 'merge slashes'); | 55 like(http_get('/foo//../bar'), qr!x /foo/bar x!, 'merge slashes'); |
58 like(http_get('/foo///../bar'), qr!x /foo//bar x!, 'merge slashes 2'); | 56 like(http_get('/foo///../bar'), qr!x /foo//bar x!, 'merge slashes 2'); |
59 | 57 |
60 ############################################################################### | 58 ############################################################################### |