mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Tests++
This commit is contained in:
parent
43925ae640
commit
1e7cf29290
@ -389,6 +389,8 @@ class TemplateTest extends TestCase
|
||||
array('{$empty.bool?:"empty"}', $a, "empty"),
|
||||
array('{$empty.unexist?:"empty"}', $a, "empty"),
|
||||
// ? ... : ....
|
||||
array('{$unexists ? "no way" : "right"}', $a),
|
||||
array('{$a ? "right" : "no way"}', $a),
|
||||
// !
|
||||
array('{if $a!} right {/if}', $a),
|
||||
array('{if $unexists!} no way {else} right {/if}', $a),
|
||||
|
Loading…
Reference in New Issue
Block a user