]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/unary_precedence.test
cc6eef8d2a078cb824a3d6418aa2e9648147ea51
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / expressions / unary_precedence.test
1 --TEST--
2 Twig unary operators precedence
3 --TEMPLATE--
4 {{ -1 - 1 }}
5 {{ -1 - -1 }}
6 {{ -1 * -1 }}
7 {{ 4 / -1 * 5 }}
8 --DATA--
9 return array()
10 --EXPECT--
11 -2
12 0
13 1
14 -20