]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/comparison.test
726b85075d4f09f18a182994ae39ff475ada649a
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / expressions / comparison.test
1 --TEST--
2 Twig supports comparison operators (==, !=, <, >, >=, <=)
3 --TEMPLATE--
4 {{ 1 > 2 }}/{{ 1 > 1 }}/{{ 1 >= 2 }}/{{ 1 >= 1 }}
5 {{ 1 < 2 }}/{{ 1 < 1 }}/{{ 1 <= 2 }}/{{ 1 <= 1 }}
6 {{ 1 == 1 }}/{{ 1 == 2 }}
7 {{ 1 != 1 }}/{{ 1 != 2 }}
8 --DATA--
9 return array()
10 --EXPECT--
11 ///1
12 1//1/1
13 1/
14 /1