mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-27 21:47:59 +01:00
[develop-olympus] Backported 3.1 unit tests to 3.0.
Start adding unit tests for bugs you fix! Tests for anything are welcome really. We have to work on these a lot.
This commit is contained in:
20
tests/template/templates/basic.html
Normal file
20
tests/template/templates/basic.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!-- IF S_FALSE -->
|
||||
fail
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_TRUE -->
|
||||
pass
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_FALSE -->
|
||||
fail
|
||||
<!-- ELSEIF S_FALSE and not S_TRUE -->
|
||||
fail
|
||||
<!-- ELSE -->
|
||||
pass
|
||||
<!-- ENDIF -->
|
||||
<!-- BEGIN empty -->
|
||||
fail
|
||||
<!-- BEGINELSE -->
|
||||
pass
|
||||
<!-- END empty -->
|
||||
|
||||
<!-- DUMMY var -->
|
||||
Reference in New Issue
Block a user