From b5fa10fd109e9118a5ad034b25305e16ebcb5d49 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 11 Jun 2026 11:22:47 +0000 Subject: internal/cache/clock: Rename Cache to Clock --- internal/cache/clock/invariant_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/cache/clock/invariant_test.go') 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) } } -- cgit v1.3.1-10-gc9f91