projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
238dd279039fc9de23aa1909d38ee7cd53b90407
[yaffs-website]
/
divisibleby.test
1
--TEST--
2
Twig supports the "divisible by" operator
3
--TEMPLATE--
4
{{ 8 is divisible by(2) ? 'OK' }}
5
{{ 8 is not divisible by(3) ? 'OK' }}
6
{{ 8 is divisible by (2) ? 'OK' }}
7
{{ 8 is not
8
divisible
9
by
10
(3) ? 'OK' }}
11
--DATA--
12
return array()
13
--EXPECT--
14
OK
15
OK
16
OK
17
OK