changeset 478:fec6dc7e0fc3

Tests: another Vary normalization test.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 21 Oct 2014 01:44:53 +0400
parents c94fc8e41f5f
children b8f10ffa02cd
files proxy_cache_vary.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_cache_vary.t
+++ b/proxy_cache_vary.t
@@ -103,7 +103,7 @@ EOF
 $t->write_file('asterisk', 'SEE-THIS');
 $t->write_file('complex', 'SEE-THIS');
 
-$t->try_run('no proxy_ignore_headers Vary')->plan(40);
+$t->try_run('no proxy_ignore_headers Vary')->plan(41);
 
 ###############################################################################
 
@@ -246,6 +246,7 @@ TODO: {
 local $TODO = 'not yet';
 
 like(get('/', 'foo,bar'), qr/HIT/ms, 'normalize whitespace');
+like(get('/', 'foo,,  ,bar , '), qr/HIT/ms, 'normalize empty');
 like(get('/', 'bar,foo'), qr/HIT/ms, 'normalize order');
 
 }