diff charset_gzip_static.t @ 568:907e89fba9c3

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Sun, 03 May 2015 12:45:09 +0300
parents a8bfad2a3f84
children 3ac4036b139d
line wrap: on
line diff
--- a/charset_gzip_static.t
+++ b/charset_gzip_static.t
@@ -121,29 +121,16 @@ like(http_get('/t1.html'), qr!text/html;
 like(http_gzip_request('/t1.html'), qr!text/html; charset=.*gzip!ms, 'gzip');
 
 like(http_get('/t2.html'), qr!text/html; charset=A.*Y{99}!ms, 'recode plain');
-
-TODO: {
-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');
 
-}
-
 like(http_get('/t.html'), qr!text/html\x0d!, 'nocharset plain');
 like(http_gzip_request('/t.html'), qr!text/html\x0d.*gzip!ms, 'nocharset gzip');
 
 like(http_get('/p/t.html'), qr!text/html; charset=!, 'proxy plain');
-
-TODO: {
-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');
 
-}
-
-
 like(http_get('/p.ab/t.html'), qr!text/html; charset=A!ms,
 	'proxy recode plain');
 like(http_gzip_request('/p.ab/t.html'), qr!text/html\x0d.*gzip!ms,
@@ -151,13 +138,7 @@ like(http_gzip_request('/p.ab/t.html'), 
 
 like(http_get('/p.aa/t.html'), qr!text/html; charset=A!ms,
 	'proxy nullrecode plain');
-
-TODO: {
-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');
 
-}
-
 ###############################################################################