aboutsummaryrefslogtreecommitdiffhomepage
path: root/cache/dynacache/dynacache_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/dynacache/dynacache_test.go')
-rw-r--r--cache/dynacache/dynacache_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/dynacache/dynacache_test.go b/cache/dynacache/dynacache_test.go
index 53de2385e..275e63f0b 100644
--- a/cache/dynacache/dynacache_test.go
+++ b/cache/dynacache/dynacache_test.go
@@ -156,7 +156,7 @@ func TestClear(t *testing.T) {
cache = newTestCache(t)
- cache.ClearMatching(func(k, v any) bool {
+ cache.ClearMatching(nil, func(k, v any) bool {
return k.(string) == "clearOnRebuild"
})