diff ssi.t @ 397:847ea345becb

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 05 May 2014 11:46:01 +0400
parents 4ac3588485f5
children 134ea15d7473
line wrap: on
line diff
--- a/ssi.t
+++ b/ssi.t
@@ -154,22 +154,13 @@ like(http_get('/test-empty3.html'), qr/H
 # handling of escaped URIs
 
 like(http_get('/unescape1.html'), qr/^XXtestXX$/m, 'escaped in path');
-
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.5.9');
-
 like(http_get('/unescape2.html'), qr/^XSEE-THISX$/m,
 	'escaped question in path');
 like(http_get('/unescape3.html'), qr/404 Not Found/,
 	'escaped query separator');
 
-}
-
 # handling of embedded date variables
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.5.10');
-
 like(http_get('/var_nossi.html'),
 	qr/X-Var: \w+, \d\d-\w{3}-\d{4} \d\d:\d\d:\d\d \w+/, 'no ssi');
 like(http_get('/var_noformat.html'),
@@ -180,8 +171,6 @@ like(http_get('/var_format.html?custom=1
 like(http_get('/var_format.html'),
 	qr/X-Var: \w+, \d\d-\w{3}-\d{4} \d\d:\d\d:\d\d \w+/, 'default header');
 
-}
-
 like(http_get('/var_format.html?custom=1'),
 	qr/x\w+, \d\d:\d\d:\d\dx/, 'custom ssi');
 like(http_get('/var_format.html'),