From 502e159dcae2c42be7656b175ee61c59991c8989 Mon Sep 17 00:00:00 2001 From: TwiN Date: Wed, 16 Nov 2022 18:27:28 -0500 Subject: [PATCH] test: Add case for making sure pat() works inside a JSON array --- core/condition_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/condition_test.go b/core/condition_test.go index bbc23d22..b3bcbf3a 100644 --- a/core/condition_test.go +++ b/core/condition_test.go @@ -309,6 +309,13 @@ func TestCondition_evaluate(t *testing.T) { ExpectedSuccess: false, ExpectedOutput: "pat(*
john.doe
*) == [BODY] (