summaryrefslogtreecommitdiff
path: root/internal/cache/domain/domain_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-05-09 15:18:51 +0100
committerLibravatar GitHub <noreply@github.com>2023-05-09 15:18:51 +0100
commit11e843a27368f89847f1d6222001004214801ecf (patch)
tree8267652555073c1bedc7612c9e4f923b599c2a98 /internal/cache/domain/domain_test.go
parent[bugfix] update go-cache version to support multi-keying (#1756) (diff)
downloadgotosocial-11e843a27368f89847f1d6222001004214801ecf.tar.xz
[bugfix] fix possible domain blockcache nil ptr + add debug String() func (#1755)
Diffstat (limited to 'internal/cache/domain/domain_test.go')
-rw-r--r--internal/cache/domain/domain_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/cache/domain/domain_test.go b/internal/cache/domain/domain_test.go
index b5937978c..8f975497b 100644
--- a/internal/cache/domain/domain_test.go
+++ b/internal/cache/domain/domain_test.go
@@ -69,7 +69,9 @@ func TestBlockCache(t *testing.T) {
}
// Clear the cache
+ t.Logf("%+v\n", c)
c.Clear()
+ t.Logf("%+v\n", c)
knownErr := errors.New("known error")