diff --git a/pkg/cache/memory/memory_test.go b/pkg/cache/memory/memory_test.go index 70f38a77..6dd80a71 100644 --- a/pkg/cache/memory/memory_test.go +++ b/pkg/cache/memory/memory_test.go @@ -7,8 +7,6 @@ import ( "testing" "github.com/google/go-cmp/cmp" - - logContext "github.com/trufflesecurity/trufflehog/v3/pkg/context" ) func TestCache(t *testing.T) { @@ -66,7 +64,7 @@ func TestCache(t *testing.T) { } func TestCache_NewWithData(t *testing.T) { - c := NewWithData(logContext.Background(), []string{"key1", "key2", "key3"}) + c := NewWithData([]string{"key1", "key2", "key3"}) // Test the count. if c.Count() != 3 {