Mercurial > hg > nginx-tests
diff memcached.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 | c0b4ae82fd9d |
line wrap: on
line diff
--- a/memcached.t +++ b/memcached.t @@ -83,9 +83,9 @@ my $memd = Cache::Memcached->new(servers like(http_get('/'), qr/SEE-THIS/, 'memcached request'); -like(http_get('/notfound'), qr/404/, 'memcached not found'); +like(http_get('/notfound'), qr/ 404 /, 'memcached not found'); -like(http_get('/next'), qr/404/, 'not found with memcached_next_upstream'); +like(http_get('/next'), qr/ 404 /, 'not found with memcached_next_upstream'); unlike(http_head('/'), qr/SEE-THIS/, 'memcached no data in HEAD');