From 0592e248e2cf6dd5c81d3c21b84fff9a5f043b5c Mon Sep 17 00:00:00 2001 From: bzick Date: Sun, 1 Feb 2015 00:35:41 +0300 Subject: [PATCH] Add test for 'in' operator --- tests/cases/Fenom/TemplateTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cases/Fenom/TemplateTest.php b/tests/cases/Fenom/TemplateTest.php index cd8a093..baf60c2 100644 --- a/tests/cases/Fenom/TemplateTest.php +++ b/tests/cases/Fenom/TemplateTest.php @@ -1184,6 +1184,7 @@ class TemplateTest extends TestCase array('{if $one in ["one", "two", "three"]} block1 {else} block2 {/if}', 'block2'), array('{if $one in keys [1 => "one", 2 => "two", 3 => "three"]} block1 {else} block2 {/if}', 'block1'), array('{if $one in $two} block1 {else} block2 {/if}', 'block2'), + array('{if $one in $list} block1 {else} block2 {/if}', 'block1'), ); }