# HG changeset patch # User Sergey Kandaurov # Date 1400583185 -14400 # Node ID 22f6aa0d113933bf72c62d7b5f5ed1d3132f6649 # Parent 25c9cd16ae044b1cfe0f6f5093d5e7adfd85b24a Tests: added version checks to charset_gzip_static.t TODOs. diff --git a/charset_gzip_static.t b/charset_gzip_static.t --- a/charset_gzip_static.t +++ b/charset_gzip_static.t @@ -123,7 +123,7 @@ like(http_gzip_request('/t1.html'), qr!t like(http_get('/t2.html'), qr!text/html; charset=A.*Y{99}!ms, 'recode plain'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.1'); like(http_gzip_request('/t2.html'), qr!text/html\x0d.*gzip!ms, 'recode gzip'); http_gzip_like(http_gzip_request('/t2.html'), qr!X{99}!, 'recode content'); @@ -136,7 +136,7 @@ like(http_gzip_request('/t.html'), qr!te like(http_get('/p/t.html'), qr!text/html; charset=!, 'proxy plain'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.1'); like(http_gzip_request('/p/t.html'), qr!text/html; charset=.*gzip!ms, 'proxy gzip'); @@ -153,7 +153,7 @@ like(http_get('/p.aa/t.html'), qr!text/h 'proxy nullrecode plain'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.1'); like(http_gzip_request('/p.aa/t.html'), qr!text/html; charset=A.*gzip!ms, 'proxy nullrecode gzip');