changeset 1130:cb46ac65d50e

Tests: fixed expected value for multiple Cache-Control headers. Expect the only valid separator in the $sent_http_cache_control variable.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 14 Feb 2017 17:09:52 +0300
parents 1173800a4a19
children 7cce4d12579c
files http_variables.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/http_variables.t
+++ b/http_variables.t
@@ -87,7 +87,7 @@ like(http_get('/limit_rate'), qr/X-Rate:
 my $log = $t->read_file('cc.log');
 like($log, qr!^: -$!m, 'no uri');
 like($log, qr!^/: -$!m, 'no header');
-like($log, qr!^/set: max-age=3600[,;] private[,;] must-revalidate$!m,
+like($log, qr!^/set: max-age=3600, private, must-revalidate$!m,
 	'multi headers');
 
 like($log, qr!^/redefine: no-cache$!m, 'ignoring headers with (hash == 0)');