aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-07-22 03:07:38 +0200
committerAndreas Fischer <bantu@phpbb.com>2013-07-22 03:07:38 +0200
commit8efca016fad58e122f15e8eb2eaa1ea5aad6f809 (patch)
tree4b03f29113538c2fb2a60d3aedd051c7ecb13349 /tests
parentfb5c8957ec4d5adff116dbee0bbdad7b3032b71c (diff)
parent375976eb38882f42155f1f7fa2c849add8dbcf08 (diff)
downloadforums-8efca016fad58e122f15e8eb2eaa1ea5aad6f809.tar
forums-8efca016fad58e122f15e8eb2eaa1ea5aad6f809.tar.gz
forums-8efca016fad58e122f15e8eb2eaa1ea5aad6f809.tar.bz2
forums-8efca016fad58e122f15e8eb2eaa1ea5aad6f809.tar.xz
forums-8efca016fad58e122f15e8eb2eaa1ea5aad6f809.zip
Merge remote-tracking branch 'EXreaction/ticket/11707' into develop
* EXreaction/ticket/11707: [ticket/11707] Twig DEFINE not working as expected
Diffstat (limited to 'tests')
-rw-r--r--tests/template/template_test.php2
-rw-r--r--tests/template/templates/define.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index 802f0c19ba..2ed0f03698 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -151,7 +151,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
array(),
array('loop' => array(array(), array(), array(), array(), array(), array(), array()), 'test' => array(array()), 'test.deep' => array(array()), 'test.deep.defines' => array(array())),
array(),
- "xyz\nabc\nabc\nbar\nbar\nabc",
+ "xyz\nabc\nabc\nbar\nbar\nabc\ntest!@#$%^&*()_-=+{}[]:;\",<.>/?",
),
array(
'define_advanced.html',
diff --git a/tests/template/templates/define.html b/tests/template/templates/define.html
index 4e6d0ee793..f0df16a8f8 100644
--- a/tests/template/templates/define.html
+++ b/tests/template/templates/define.html
@@ -7,3 +7,5 @@
{$VALUE}
<!-- UNDEFINE $VALUE -->
{$VALUE}
+<!-- DEFINE $VALUE = 'test!@#$%^&*()_-=+{}[]:;",<.>/?' -->
+{$VALUE}