aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-09-24 22:21:05 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-09-24 22:21:05 +0200
commitd01c028c1c1aab04b5cf9c0cdc785c05e52e138a (patch)
treef8349f70853a7ac30bd528064f8f014008069cb1 /tests/template/template_test.php
parent5e768036f773e461283d0f65841d2ff0618ec7b7 (diff)
parente9392bbddebab4cca5f1c5debda40e6156de6aaf (diff)
downloadforums-d01c028c1c1aab04b5cf9c0cdc785c05e52e138a.tar
forums-d01c028c1c1aab04b5cf9c0cdc785c05e52e138a.tar.gz
forums-d01c028c1c1aab04b5cf9c0cdc785c05e52e138a.tar.bz2
forums-d01c028c1c1aab04b5cf9c0cdc785c05e52e138a.tar.xz
forums-d01c028c1c1aab04b5cf9c0cdc785c05e52e138a.zip
Merge remote-tracking branch 'cs278/ticket/10384' into develop
* cs278/ticket/10384: [ticket/10384] Language variable replacements should not check for var prefix. [ticket/10384] Update unit tests to test for failing variable.
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r--tests/template/template_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index 28eba05217..8ea21444f3 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -211,21 +211,21 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
array(),
array(),
array(),
- "{ VARIABLE }\n{ VARIABLE }",
+ "{ VARIABLE }\n{ 1_VARIABLE }\n{ VARIABLE }\n{ 1_VARIABLE }",
),
array(
'lang.html',
- array('L_VARIABLE' => "Value'"),
+ array('L_VARIABLE' => "Value'", 'L_1_VARIABLE' => "1 O'Clock"),
array(),
array(),
- "Value'\nValue\'",
+ "Value'\n1 O'Clock\nValue\'\n1 O\'Clock",
),
array(
'lang.html',
- array('LA_VARIABLE' => "Value'"),
+ array('LA_VARIABLE' => "Value'", 'LA_1_VARIABLE' => "1 O'Clock"),
array(),
array(),
- "{ VARIABLE }\nValue'",
+ "{ VARIABLE }\n{ 1_VARIABLE }\nValue'\n1 O'Clock",
),
array(
'loop_nested_multilevel_ref.html',