diff --git a/pkg/custom_detectors/custom_detectors_test.go b/pkg/custom_detectors/custom_detectors_test.go index 2a0349920..3cccdcda2 100644 --- a/pkg/custom_detectors/custom_detectors_test.go +++ b/pkg/custom_detectors/custom_detectors_test.go @@ -112,7 +112,7 @@ func TestFromData_InvalidRegEx(t *testing.T) { Regex: map[string]string{ "test": "!!?(?:?)[a-zA-Z0-9]{32}", // invalid regex }, - }, + }, make(map[string]bool), } _, err := c.FromData(context.Background(), false, []byte("test"))