Skip to content

Commit

Permalink
Add failing test reproducing the bug reported in issue #86
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycatalinismith committed Oct 9, 2014
1 parent 7afbfb9 commit 49f6134
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--TEST--
twig.contains strict equality bug regression test for schmittjoh/twig.js#86
--TEMPLATE--
{% set number = '1' %}
{% set list = [1, 2] %}
{% if number in list %}yes{% else %}no{% endif %}
--DATA--
return {}
--EXPECT--
yes

0 comments on commit 49f6134

Please sign in to comment.