diff --git a/cache_test.go b/cache_test.go index 366fb9f..6e6fb3b 100644 --- a/cache_test.go +++ b/cache_test.go @@ -19,7 +19,7 @@ func TestMain(m *testing.M) { } func Test_New(t *testing.T) { - c := New[string, string]( + c := New( WithTTL[string, string](time.Hour), WithCapacity[string, string](1), )