]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/tests/even.test
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / tests / even.test
1 --TEST--
2 "even" test
3 --TEMPLATE--
4 {{ 1 is even ? 'ko' : 'ok' }}
5 {{ 2 is even ? 'ok' : 'ko' }}
6 {{ 1 is not even ? 'ok' : 'ko' }}
7 {{ 2 is not even ? 'ko' : 'ok' }}
8 --DATA--
9 return array()
10 --EXPECT--
11 ok
12 ok
13 ok
14 ok