mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 04:24:56 +02:00
[ticket/12781] Add tests
PHPBB3-12781
This commit is contained in:
parent
6d40b87661
commit
7ef983b426
@ -352,6 +352,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
array(),
|
||||
"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}
|
Loading…
x
Reference in New Issue
Block a user