aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/invalid
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-05-10 03:28:54 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-05-10 03:28:54 -0400
commit720d07c9b3942a103ceedc1996fb11e13c1bc2f0 (patch)
tree8e63ae366518e584305ba8672ccf2f3604730ba3 /tests/template/templates/invalid
parent9a38a034e56fc6e30207f1fee385f0b18de0dcc2 (diff)
downloadforums-720d07c9b3942a103ceedc1996fb11e13c1bc2f0.tar
forums-720d07c9b3942a103ceedc1996fb11e13c1bc2f0.tar.gz
forums-720d07c9b3942a103ceedc1996fb11e13c1bc2f0.tar.bz2
forums-720d07c9b3942a103ceedc1996fb11e13c1bc2f0.tar.xz
forums-720d07c9b3942a103ceedc1996fb11e13c1bc2f0.zip
[ticket/10882] Add test for an ENDIF without IF.
PHPBB3-10882
Diffstat (limited to 'tests/template/templates/invalid')
-rw-r--r--tests/template/templates/invalid/endif_without_if.html1
-rw-r--r--tests/template/templates/invalid/output/endif_without_if.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/template/templates/invalid/endif_without_if.html b/tests/template/templates/invalid/endif_without_if.html
new file mode 100644
index 0000000000..e371ffd150
--- /dev/null
+++ b/tests/template/templates/invalid/endif_without_if.html
@@ -0,0 +1 @@
+<!-- ENDIF -->
diff --git a/tests/template/templates/invalid/output/endif_without_if.html b/tests/template/templates/invalid/output/endif_without_if.html
new file mode 100644
index 0000000000..5f2239c964
--- /dev/null
+++ b/tests/template/templates/invalid/output/endif_without_if.html
@@ -0,0 +1 @@
+Parse error (fatal, destroys php runtime).