1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[feature/template-engine] Corrected miscompilation of loop size constructs.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-04-25 13:03:55 -04:00
parent 8d5e468eb4
commit f97411b911
3 changed files with 47 additions and 1 deletions

View File

@@ -288,6 +288,13 @@ class phpbb_template_template_test extends phpbb_test_case
// I don't completely understand this output, hopefully it's correct
"top-level content\nouter\n\ninner z\nfirst row\n\ninner zz",
),
array(
'loop_size.html',
array(),
array('loop' => array(array()), 'empty_loop' => array()),
array(),
"nonexistent = 0\n! nonexistent\n\nempty = 0\n! empty\nloop\n\nin loop",
),
);
}