aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates
diff options
context:
space:
mode:
authorrechosen <rechosen@gmail.com>2013-09-13 12:27:07 +0200
committerrechosen <rechosen@gmail.com>2013-09-13 12:27:07 +0200
commit45ecbae1edd32224dd6e2b1aaee5f289afddb7b9 (patch)
tree4f80ad93180a885740823fa8023cb0b3f949d7dc /tests/template/templates
parent42884546cc743cc83f8153b7cc889381b0a69077 (diff)
downloadforums-45ecbae1edd32224dd6e2b1aaee5f289afddb7b9.tar
forums-45ecbae1edd32224dd6e2b1aaee5f289afddb7b9.tar.gz
forums-45ecbae1edd32224dd6e2b1aaee5f289afddb7b9.tar.bz2
forums-45ecbae1edd32224dd6e2b1aaee5f289afddb7b9.tar.xz
forums-45ecbae1edd32224dd6e2b1aaee5f289afddb7b9.zip
[ticket/11843] Add checking DEFINE variables with underscores to template_test
To prevent the underscore in DEFINE variables from being forgotten again, the template tests now test INCLUDEing a file based on the contents of a DEFINE variable with underscores in it. PHPBB3-11843
Diffstat (limited to 'tests/template/templates')
-rw-r--r--tests/template/templates/include_define_variable.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/template/templates/include_define_variable.html b/tests/template/templates/include_define_variable.html
index aff9b574c2..fceeebf5df 100644
--- a/tests/template/templates/include_define_variable.html
+++ b/tests/template/templates/include_define_variable.html
@@ -1,2 +1,4 @@
<!-- DEFINE $DEF = '{VARIABLE}' -->
<!-- INCLUDE {$DEF} -->
+<!-- DEFINE $DEF_WITH_UNDERSCORES = '{VARIABLE}' -->
+<!-- INCLUDE {$DEF_WITH_UNDERSCORES} -->