changeset 264:5ed8ef14f79c

Tests: fixed test of multiple Cache-Control headers. The $sent_http_cache_control variable will soon use comma as a separator.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 27 Feb 2013 17:12:25 +0400
parents 71bb2a896c7a
children a4e46d78ea6d
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
@@ -84,7 +84,7 @@ my $log;
 }
 
 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)');