mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
fixed a stupid test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user