From a1a624b150e5c621f6aee18f9b79b65c77dc02e7 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 27 Aug 2020 14:42:56 -0500 Subject: Normalize how None is handled in quote filter. Fixes #32174 (#71473) --- test/integration/targets/filter_core/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/integration/targets/filter_core') 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 -- cgit v1.2.1