Mercurial > hg > nginx-tests
diff proxy_cache_vary.t @ 476:4e335141aa4b
Tests: fix head() remnants in Vary tests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 16 Oct 2014 23:36:04 +0400 |
parents | 8816a0edfc7b |
children | fec6dc7e0fc3 |
line wrap: on
line diff
--- a/proxy_cache_vary.t +++ b/proxy_cache_vary.t @@ -157,11 +157,11 @@ like(get('/', 'deflate'), qr/EXPIRED/ms, TODO: { local $TODO = 'not yet'; -like(head('/', 'gzip'), qr/MISS/ms, 'first not bumped by second requests'); +like(get('/', 'gzip'), qr/MISS/ms, 'first not bumped by second requests'); } -like(head('/', 'deflate'), qr/HIT/ms, 'second variant cached'); +like(get('/', 'deflate'), qr/HIT/ms, 'second variant cached'); }