aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates
diff options
context:
space:
mode:
authorrechosen <rechosen@gmail.com>2013-09-13 13:48:00 +0200
committerrechosen <rechosen@gmail.com>2013-09-13 13:53:39 +0200
commit658f6e204510b328509a0387eb9711617fdc3bee (patch)
tree839db078e52b5362c1b8e8541411ce3dba3b06a4 /tests/template/templates
parent45ecbae1edd32224dd6e2b1aaee5f289afddb7b9 (diff)
downloadforums-658f6e204510b328509a0387eb9711617fdc3bee.tar
forums-658f6e204510b328509a0387eb9711617fdc3bee.tar.gz
forums-658f6e204510b328509a0387eb9711617fdc3bee.tar.bz2
forums-658f6e204510b328509a0387eb9711617fdc3bee.tar.xz
forums-658f6e204510b328509a0387eb9711617fdc3bee.zip
[ticket/11843] Added newlines and included numbers in the DEFINE vars test
Per suggestion of nickvergessen, I added newlines in the DEFINE variables with underscores test. Now if the test fails, it's easier to spot which part is failing. Also added a test for DEFINE variables containing numbers. PHPBB3-11843
Diffstat (limited to 'tests/template/templates')
-rw-r--r--tests/template/templates/include_define_variable.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/template/templates/include_define_variable.html b/tests/template/templates/include_define_variable.html
index fceeebf5df..6052657c97 100644
--- a/tests/template/templates/include_define_variable.html
+++ b/tests/template/templates/include_define_variable.html
@@ -1,4 +1,8 @@
<!-- DEFINE $DEF = '{VARIABLE}' -->
<!-- INCLUDE {$DEF} -->
+
<!-- DEFINE $DEF_WITH_UNDERSCORES = '{VARIABLE}' -->
<!-- INCLUDE {$DEF_WITH_UNDERSCORES} -->
+
+<!-- DEFINE $DEF123 = '{VARIABLE}' -->
+<!-- INCLUDE {$DEF123} -->