From f82b46d3518e6ee2f2e805df8134f2c5dd6b2d8a Mon Sep 17 00:00:00 2001 From: Raphael Campos Date: Fri, 18 Oct 2024 08:11:41 -0500 Subject: [PATCH] Tracee kernel data filter test - Add MatchTypes{} in cmp.AllowUnexported --- pkg/filters/data_test.go | 1 + pkg/policy/policy_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/filters/data_test.go b/pkg/filters/data_test.go index 018b042cf75f..437394a402df 100644 --- a/pkg/filters/data_test.go +++ b/pkg/filters/data_test.go @@ -26,6 +26,7 @@ func TestDataFilterClone(t *testing.T) { StringFilter{}, sets.PrefixSet{}, sets.SuffixSet{}, + MatchTypes{}, ) opt2 := cmp.FilterPath( func(p cmp.Path) bool { diff --git a/pkg/policy/policy_test.go b/pkg/policy/policy_test.go index d81233f12f8c..ffa52107188d 100644 --- a/pkg/policy/policy_test.go +++ b/pkg/policy/policy_test.go @@ -30,6 +30,7 @@ func TestPolicyClone(t *testing.T) { filters.BinaryFilter{}, sets.PrefixSet{}, sets.SuffixSet{}, + filters.MatchTypes{}, ) opt2 := cmp.FilterPath( func(p cmp.Path) bool {