fixed a stupid test

This commit is contained in:
Fabien Potencier
2012-10-30 18:12:52 +01:00
parent 1be2495906
commit bcf850da50
@@ -4,11 +4,11 @@ Twig supports bitwise operations
{{ 1 b-and 5 }}
{{ 1 b-or 5 }}
{{ 1 b-xor 5 }}
{{ 1 b-and 1 and 1 }} == {{ band }}
{{ (1 and 0 b-or 0) is sameas(1 and (0 b-or 0)) ? 'ok' : 'ko' }}
--DATA--
return array('band' => (1 & 1 and 1))
return array()
--EXPECT--
1
5
4
1 == 1
ok