mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/12781] Add tests
PHPBB3-12781
This commit is contained in:
@@ -352,6 +352,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
|||||||
array(),
|
array(),
|
||||||
"13FOOBAR|foobar",
|
"13FOOBAR|foobar",
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'if_nested_tags.html',
|
||||||
|
array('S_VALUE' => true,),
|
||||||
|
array(),
|
||||||
|
array(),
|
||||||
|
'inner_value',
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
tests/template/templates/if_nested_tags.html
Normal file
1
tests/template/templates/if_nested_tags.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<!-- IF S_VALUE --><!-- DEFINE $INNER_VALUE = 'inner_value' --><!-- ENDIF -->{$INNER_VALUE}
|
Reference in New Issue
Block a user