Security update to Drupal 8.4.6
[yaffs-website] / 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