From a3d3e7ef81a649d2bbd6599fc561cf22c6875e70 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 22 Sep 2022 15:09:07 +0100 Subject: Fix ${filter } for conditions modifying $value --- test/scripts/0000-Basic/0002 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/scripts/0000-Basic') diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index d169518b6..898f3b6bc 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -90,6 +90,8 @@ filter: ${filter{a:b:c}{!eq{$item}{b}}} filter: ${filter{<' a'b'c}{!eq{$item}{b}}} filter: ${filter{<' ''a'b' ''c}{!eq{$item}{b}}} filter: "${filter{}{!eq{$item}{b}}}" +# check operation when the condition modifies the 'value' variable +${filter {E} {inlisti{$item}{ e }}} map: "${map{}{$item}}" map: ${map{a:b:c}{$item}} -- cgit v1.2.3