mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-14 04:07:46 +00:00
Further improvements to test coverage and code quality
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user