From 1530e8d176e607924d777eff8f1dae0756c9c734 Mon Sep 17 00:00:00 2001 From: moveyield Date: Sun, 15 Feb 2026 15:18:21 +0800 Subject: [PATCH] chore: Fix mismatched comment in TestCache_WithNilStore function Signed-off-by: moveyield --- block/internal/cache/generic_cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/internal/cache/generic_cache_test.go b/block/internal/cache/generic_cache_test.go index dbb945acb..209455e45 100644 --- a/block/internal/cache/generic_cache_test.go +++ b/block/internal/cache/generic_cache_test.go @@ -225,7 +225,7 @@ func TestCache_DeleteAllForHeight(t *testing.T) { assert.True(t, c.isSeen("hash2")) } -// TestCacheWithConfig tests creating cache with custom config +// TestCache_WithNilStore tests creating cache with nil store func TestCache_WithNilStore(t *testing.T) { // Cache without store should work fine c := NewCache[testItem](nil, "")