]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ternary_operator_nothen.test
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / expressions / ternary_operator_nothen.test
1 --TEST--
2 Twig supports the ternary operator
3 --TEMPLATE--
4 {{ 'YES' ?: 'NO' }}
5 {{ 0 ?: 'NO' }}
6 --DATA--
7 return array()
8 --EXPECT--
9 YES
10 NO