changeset 512:a610ee837190

Tests: relaxed "expires modified" test. Running tests takes some time, and hence the max-age= value returned may be smaller.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 10 Dec 2014 18:48:40 +0300
parents 1e0818200b3f
children 1a73389a19c4
files headers.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/headers.t
+++ b/headers.t
@@ -116,6 +116,6 @@ unlike(http_get('/off'), qr/Expires:/, '
 like(http_get('/access'), qr/max-age=2048/, 'expires access');
 like(http_get('/negative'), qr/no-cache/, 'expires negative');
 like(http_get('/daily'), qr/Expires:.*:33 GMT/, 'expires daily');
-like(http_get('/modified'), qr/max-age=2048/, 'expires modified');
+like(http_get('/modified'), qr/max-age=204./, 'expires modified');
 
 ###############################################################################