aboutsummaryrefslogtreecommitdiff
path: root/internal/cache/clock/invariant_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache/clock/invariant_test.go')
-rw-r--r--internal/cache/clock/invariant_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cache/clock/invariant_test.go b/internal/cache/clock/invariant_test.go
index 2efd7ff9..04896ca1 100644
--- a/internal/cache/clock/invariant_test.go
+++ b/internal/cache/clock/invariant_test.go
@@ -79,10 +79,10 @@ func checkShard[K comparable, V any](t *testing.T, shard *shard[K, V]) {
}
// checkCache verifies every shard's invariants.
-func checkCache[K comparable, V any](t *testing.T, cache *Cache[K, V]) {
+func checkCache[K comparable, V any](t *testing.T, clock *Clock[K, V]) {
t.Helper()
- for _, shard := range cache.shards {
+ for _, shard := range clock.shards {
checkShard(t, shard)
}
}