diff options
author | Matt Martz <matt@sivel.net> | 2020-08-27 14:42:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 15:42:56 -0400 |
commit | a1a624b150e5c621f6aee18f9b79b65c77dc02e7 (patch) | |
tree | bddfaf5d9df96c1659e677ea96dde922e7ca7151 /test/integration/targets/filter_core | |
parent | addee0699e25f4e3bcc9cbef9c797c08e71765fe (diff) | |
download | ansible-a1a624b150e5c621f6aee18f9b79b65c77dc02e7.tar.gz |
Normalize how None is handled in quote filter. Fixes #32174 (#71473)
Diffstat (limited to 'test/integration/targets/filter_core')
-rw-r--r-- | test/integration/targets/filter_core/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/filter_core/tasks/main.yml b/test/integration/targets/filter_core/tasks/main.yml index 6ef27d9dbe..4a21f543d1 100644 --- a/test/integration/targets/filter_core/tasks/main.yml +++ b/test/integration/targets/filter_core/tasks/main.yml @@ -601,3 +601,10 @@ bar: 123 thing_items: '{{ thing_dict.items() }}' thing_range: '{{ range(10) }}' + +- name: Assert that quote works on None + assert: + that: + - thing|quote == "''" + vars: + thing: null |