mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Add test for #144 (condition)
This commit is contained in:
parent
f985fff314
commit
d5417630ac
@ -659,6 +659,7 @@ class TemplateTest extends TestCase
|
||||
array('{$a ? "right" : "no way"}', $a),
|
||||
array('{1 ? "right" : "no way"}', $a),
|
||||
array('{$a == 1 ? "right" : "no way"}', $a),
|
||||
array('{$a > 0 ? "right" : "no way"}', $a),
|
||||
// !
|
||||
array('{if $a!} right {/if}', $a),
|
||||
array('{if 1!} right {/if}', $a),
|
||||
|
Loading…
Reference in New Issue
Block a user