diff --git a/internal/transactions/transactions_test.go b/internal/transactions/transactions_test.go index 87d9f3140..68a31caf5 100644 --- a/internal/transactions/transactions_test.go +++ b/internal/transactions/transactions_test.go @@ -15,6 +15,7 @@ package transactions import ( "net/http" "net/url" + "reflect" "strconv" "testing" @@ -28,7 +29,9 @@ type fakeType struct { func TestCompare(t *testing.T) { c1 := CacheKey{"1", "2", ""} c2 := CacheKey{"1", "2", ""} - t.Logf("%v", c1 == c2) + if !reflect.DeepEqual(c1, c2) { + t.Fatalf("Cache keys differ: %+v <> %+v", c1, c2) + } } var (