projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1853b1b0637d8599eb6ffa670f7ec3b1520e9b2c
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
expressions
/
negative_numbers.test
1
--TEST--
2
Twig manages negative numbers correctly
3
--TEMPLATE--
4
{{ -1 }}
5
{{ - 1 }}
6
{{ 5 - 1 }}
7
{{ 5-1 }}
8
{{ 5 + -1 }}
9
{{ 5 + - 1 }}
10
--DATA--
11
return array()
12
--EXPECT--
13
-1
14
-1
15
4
16
4
17
4
18
4