From abef1cdde2278032b4b9ea97dc6b4aebe119a75a Mon Sep 17 00:00:00 2001 From: Tobias Fonfara Date: Thu, 8 Apr 2021 14:18:02 +0200 Subject: [PATCH] Fixed test message --- cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache_test.go b/cache_test.go index 142c111..ca304ca 100644 --- a/cache_test.go +++ b/cache_test.go @@ -623,7 +623,7 @@ func TestCacheGetKeys(t *testing.T) { cache.Set("hello", "world") keys = cache.GetKeys() assert.NotEmpty(t, keys, "Expected keys to be not empty") - assert.Equal(t, []string {"hello"}, keys, "Expected keys contains 'world'") + assert.Equal(t, []string{"hello"}, keys, "Expected keys contains 'hello'") } func TestCacheExpirationCallbackFunction(t *testing.T) {