changeset 199:241b522ce7a5

Tests: ssi captures and fixes are in 1.1.12/1.0.12, remove TODO.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 Feb 2012 19:18:19 +0400
parents d17bd21a0378
children 0ca8725e5958
files ssi_if.t
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ssi_if.t
+++ b/ssi_if.t
@@ -117,9 +117,6 @@ like(http_get('/if_varvar.html?v=varHERE
 	'if var = complex');
 
 
-TODO: {
-local $TODO = 'support for captures in regexps';
-
 $t->write_file('if_cap_re.html',
 	'x<!--#if expr="$arg_v = /(CAP\d).*(CAP\d)/" -->'
 		. '<!--#echo var="1" -->x<!--#echo var="2" -->'
@@ -137,8 +134,6 @@ like(http_get('/if_cap_re.html?v=hereCAP
 like(http_get('/if_ncap_re.html?v=captureHEREeee'), qr/^xHEREx$/m,
 	'if regex with named capture');
 
-}
-
 
 $t->write_file('if.html', 'x' . $if_elif_else . 'x');
 
@@ -163,9 +158,6 @@ like(http_get('/if_multi.html?2=t&4=t'),
 	'multiple if (interlaced reversed)');
 
 
-TODO: {
-local $TODO = 'fix "if" conditions inside the "block" command';
-
 $t->write_file('if_in_block.html',
 	'<!--#block name="one" -->' . $if_elif_else . '<!--#endblock -->'
 	. 'x<!--#include virtual="/404?$args" stub="one" -->x');
@@ -176,8 +168,6 @@ like(http_get('/if_in_block.html?if=1&el
 like(http_get('/if_in_block.html?elif=1'), qr/^xELIFx$/m, 'elif (in block)');
 like(http_get('/if_in_block.html'), qr/^xELSEx$/m, 'else (in block)');
 
-}
-
 
 $t->write_file('if_config_set_echo.html',
 	'x<!--#if expr="$arg_if" -->'