Mercurial > hg > nginx-tests
comparison http_try_files.t @ 224:ba992cfdc606
Tests: remove TODO from tests which pass in 1.2.x.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 03 Jun 2012 14:47:10 +0400 |
parents | 35d050d7d5f1 |
children | 6a0d934950bc |
comparison
equal
deleted
inserted
replaced
223:f9325406df0b | 224:ba992cfdc606 |
---|---|
76 | 76 |
77 ############################################################################### | 77 ############################################################################### |
78 | 78 |
79 like(http_get('/found.html'), qr!SEE THIS!, 'found'); | 79 like(http_get('/found.html'), qr!SEE THIS!, 'found'); |
80 like(http_get('/uri/notfound'), qr!X-URI: /fallback!, 'not found uri'); | 80 like(http_get('/uri/notfound'), qr!X-URI: /fallback!, 'not found uri'); |
81 like(http_get('/nouri/notfound'), qr!X-URI: /fallback!, 'not found nouri'); | |
81 like(http_get('/short/long'), qr!404 Not!, 'short uri in try_files'); | 82 like(http_get('/short/long'), qr!404 Not!, 'short uri in try_files'); |
82 | 83 |
83 TODO: { | |
84 local $TODO = 'fixed in 1.1.12'; | |
85 | |
86 like(http_get('/nouri/notfound'), qr!X-URI: /fallback!, 'not found nouri'); | |
87 | |
88 } | |
89 | |
90 ############################################################################### | 84 ############################################################################### |