From 4e953a507f8a0fdb7228f0879df04b915ba73572 Mon Sep 17 00:00:00 2001 From: Erik Kristensen Date: Sat, 8 Jun 2024 18:36:02 -0600 Subject: [PATCH] test(config): fix tests for libnuke@0.15.0 --- pkg/config/config_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index 26ae03df..eaa229a3 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -82,8 +82,9 @@ func TestConfig_LoadExample(t *testing.T) { Filters: filter.Filters{ "S3Bucket": { filter.Filter{ - Type: filter.Glob, - Value: "my-statebucket-*", + Type: filter.Glob, + Value: "my-statebucket-*", + Values: []string{}, }, }, }, @@ -279,7 +280,7 @@ func TestConfig_FilterMerge(t *testing.T) { expect := filter.Filters{ "S3Bucket": []filter.Filter{ { - Type: "glob", Value: "my-statebucket-*", + Type: "glob", Value: "my-statebucket-*", Values: []string{}, }, }, "IAMRole": []filter.Filter{