From 1e0df01980388af49ec72c308caf37a67ff38a30 Mon Sep 17 00:00:00 2001 From: Pierre Templier Date: Mon, 9 Apr 2018 12:49:10 +0200 Subject: [PATCH] Small typos in docs (#38371) * Small typos in docs * Use same wording as in porting_guide_2.5.rst --- .../rst/dev_guide/testing/sanity/no-tests-as-filters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/dev_guide/testing/sanity/no-tests-as-filters.rst b/docs/docsite/rst/dev_guide/testing/sanity/no-tests-as-filters.rst index a61c0fac02f..a20c6c5fc73 100644 --- a/docs/docsite/rst/dev_guide/testing/sanity/no-tests-as-filters.rst +++ b/docs/docsite/rst/dev_guide/testing/sanity/no-tests-as-filters.rst @@ -3,7 +3,7 @@ Sanity Tests ยป no-tests-as-filters Using Ansible provided Jinja2 tests as filters will be removed in Ansible 2.9. -Prior to Ansible 2.5, Jinja2 tests included within Ansible were most often used as filters. The large difference in use is that filters are referenced as ``variable | filter_name`` where as Jinja2 tests are refereced as ``variable is test_name``. +Prior to Ansible 2.5, Jinja2 tests included within Ansible were most often used as filters. The large difference in use is that filters are referenced as ``variable | filter_name`` while Jinja2 tests are referenced as ``variable is test_name``. Jinja2 tests are used for comparisons, whereas filters are used for data manipulation, and have different applications in Jinja2. This change is to help differentiate the concepts for a better understanding of Jinja2, and where each can be appropriately used.