aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-05-20 10:47:45 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-05-20 10:47:45 -0500
commit9fab868f0f0a420b4eb7efb42e9c4cf27e66e9b3 (patch)
tree58ab21bfd02d64fdbec8876e52aae350f56509da /tests/template/template_test.php
parent71c1973db9cc13d24fff17393b3f7bf9fd24b736 (diff)
parent8567aaed324eb87856ee6274f8330c52beecd0a3 (diff)
downloadforums-9fab868f0f0a420b4eb7efb42e9c4cf27e66e9b3.tar
forums-9fab868f0f0a420b4eb7efb42e9c4cf27e66e9b3.tar.gz
forums-9fab868f0f0a420b4eb7efb42e9c4cf27e66e9b3.tar.bz2
forums-9fab868f0f0a420b4eb7efb42e9c4cf27e66e9b3.tar.xz
forums-9fab868f0f0a420b4eb7efb42e9c4cf27e66e9b3.zip
Merge remote-tracking branch 'remotes/cyberalien/ticket/11482' into develop
# By Vjacheslav Trushkin # Via Vjacheslav Trushkin * remotes/cyberalien/ticket/11482: [ticket/11482] Use double quotes for code [ticket/11482] Unit tests for advanced DEFINE [ticket/11482] Implementation of advanced DEFINE tag
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r--tests/template/template_test.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index 56cc7a9de5..a3c0b69123 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -133,6 +133,20 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
"xyz\nabc\nabc\nbar\nbar\nabc",
),
array(
+ 'define_advanced.html',
+ array(),
+ array('loop' => array(array(), array(), array(), array(), array(), array(), array()), 'test' => array(array()), 'test.deep' => array(array()), 'test.deep.defines' => array(array())),
+ array(),
+ "abc\nzxc\ncde\nbcd",
+ ),
+ array(
+ 'define_unclosed.html',
+ array(),
+ array(),
+ array(),
+ "test",
+ ),
+ array(
'expressions.html',
array(),
array(),