Mercurial > hg > nginx-tests
diff http-location.t @ 119:18fc08c160ce
Tests: caseless regex locations fixed in 0.8.31.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 24 Dec 2009 16:47:11 +0300 |
parents | f2b8d86438ee |
children | 8ac1faaddd2c |
line wrap: on
line diff
--- a/http-location.t +++ b/http-location.t @@ -76,14 +76,7 @@ like(http_get('/'), qr/X-Location: exact like(http_get('/x'), qr/X-Location: root/, 'root'); like(http_get('/images/t.gif'), qr/X-Location: images/, 'images'); like(http_get('/t.gif'), qr/X-Location: regex/, 'regex'); - -{ -local $TODO = 'broken in 0.8.25'; - like(http_get('/t.GIF'), qr/X-Location: regex/, 'regex with mungled case'); - -} - like(http_get('/casefull/t.gif'), qr/X-Location: regex/, 'first regex wins'); like(http_get('/casefull/'), qr/X-Location: casefull/, 'casefull regex'); like(http_get('/CASEFULL/'), qr/X-Location: root/,