Merge pull request #1685 from sdidier-dev/docs-patch

Fix typo in docs/api/#custom-tests
This commit is contained in:
David Lord 2022-07-18 07:01:50 -07:00 committed by GitHub
commit 4bfc33a276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -751,8 +751,8 @@ Now it can be used in templates:
{% endif %}
Some decorators are available to tell Jinja to pass extra information to
the filter. The object is passed as the first argument, making the value
being filtered the second argument.
the test. The object is passed as the first argument, making the value
being tested the second argument.
- :func:`pass_environment` passes the :class:`Environment`.
- :func:`pass_eval_context` passes the :ref:`eval-context`.