Mercurial > hg > nginx-tests
diff scgi.t @ 491:d5bf5942a8b2
Tests: disambiguated parsing of the status code.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 07 Nov 2014 13:05:07 +0300 |
parents | 6a0d934950bc |
children | dc2f8aac0553 |
line wrap: on
line diff
--- a/scgi.t +++ b/scgi.t @@ -58,7 +58,7 @@ EOF ############################################################################### like(http_get('/'), qr/SEE-THIS/, 'scgi request'); -like(http_get('/redir'), qr/302/, 'scgi redirect'); +like(http_get('/redir'), qr/ 302 /, 'scgi redirect'); like(http_get('/'), qr/^3$/m, 'scgi third request'); unlike(http_head('/'), qr/SEE-THIS/, 'no data in HEAD');