Skip to content

Commit c048201

Browse files
authored
chore: Fix mismatched comment in TestCache_WithNilStore function (#3074)
Signed-off-by: moveyield <moveyield@outlook.com>
1 parent ba07fc3 commit c048201

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

block/internal/cache/generic_cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ func TestCache_DeleteAllForHeight(t *testing.T) {
225225
assert.True(t, c.isSeen("hash2"))
226226
}
227227

228-
// TestCacheWithConfig tests creating cache with custom config
228+
// TestCache_WithNilStore tests creating cache with nil store
229229
func TestCache_WithNilStore(t *testing.T) {
230230
// Cache without store should work fine
231231
c := NewCache[testItem](nil, "")

0 commit comments

Comments
 (0)