diff options
Diffstat (limited to 'tests/template/template_test.php')
| -rw-r--r-- | tests/template/template_test.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php index 5a21d2f69c..4304035192 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -295,6 +295,16 @@ class phpbb_template_template_test extends phpbb_test_case array(), "nonexistent = 0\n! nonexistent\n\nempty = 0\n! empty\nloop\n\nin loop", ), + /* Does not pass with the current implementation. + array( + 'loop_reuse.html', + array(), + array('one' => array(array('VAR' => 'a'), array('VAR' => 'b')), 'one.one' => array(array('VAR' => 'c'), array('VAR' => 'd'))), + array(), + // Not entirely sure what should be outputted but the current output of "a" is most certainly wrong + "a\nb\nc\nd", + ), + */ ); } |
