Further improvements to test coverage and code quality

This commit is contained in:
2025-09-25 22:21:41 +01:00
parent 717b36af8e
commit abea624841
9 changed files with 3556 additions and 7 deletions
+2 -4
View File
@@ -172,10 +172,8 @@ func TestCacheInterfaceWrapper_GetStats(t *testing.T) {
t.Error("Expected non-nil stats")
}
// Stats should be a map
if len(stats) < 0 { // Just verify it's accessible
t.Error("Stats map should be accessible")
}
// Stats should be accessible (len() never returns negative values)
// Just verify it's accessible by checking it's not nil (already done above)
}
// TestCacheInterfaceWrapper_Cleanup tests cleanup functionality