Skip to content

Commit

Permalink
Add test for #144 (condition)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzick committed Feb 2, 2015
1 parent f985fff commit d541763
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cases/Fenom/TemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ public static function providerTernary()
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),
Expand Down

0 comments on commit d541763

Please sign in to comment.