projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
expressions
/
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