]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/unary.test
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / expressions / unary.test
1 --TEST--
2 Twig supports unary operators (not, -, +)
3 --TEMPLATE--
4 {{ not 1 }}/{{ not 0 }}
5 {{ +1 + 1 }}/{{ -1 - 1 }}
6 {{ not (false or true) }}
7 --DATA--
8 return array()
9 --EXPECT--
10 /1
11 2/-2
12