From f4ddc7f59d96fd6c388fb05723f87138a48689e9 Mon Sep 17 00:00:00 2001 From: Ahrav Dutta Date: Sun, 26 Mar 2023 10:47:46 -0700 Subject: [PATCH] fix test. --- pkg/cache/memory/memory_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {