summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2008-09-11 20:46:34 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2008-09-11 20:46:34 +0200
commita5d8f55ea552941df0814953226d7279d6de886c (patch)
tree062ec63cffdc1770bb36f4688725bdd2e3cccbc6
parentcb1b97f088f93967b912e6bfb968cb9cfd88f538 (diff)
downloadjinja2-a5d8f55ea552941df0814953226d7279d6de886c.tar.gz
filter -> test in the tests section (i feel so embarrassed).
--HG-- branch : trunk
-rw-r--r--docs/api.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api.rst b/docs/api.rst
index d7ed844..41949c8 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -528,13 +528,13 @@ active :class:`Context` rather then the environment.
Custom Tests
------------
-Tests work like filters just that there is no way for a filter to get access
+Tests work like filters just that there is no way for a test to get access
to the environment or context and that they can't be chained. The return
-value of a filter should be `True` or `False`. The purpose of a filter is to
+value of a test should be `True` or `False`. The purpose of a test is to
give the template designers the possibility to perform type and conformability
checks.
-Here a simple filter that checks if a variable is a prime number::
+Here a simple test that checks if a variable is a prime number::
import math