From b9e36a2cf5b8dd7b39e7285e663f1f2b26184e70 Mon Sep 17 00:00:00 2001 From: Leonid Titov Date: Fri, 28 Oct 2022 23:44:16 +0300 Subject: [PATCH] + --- cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), )