rspec/rules/S4030/description.adoc

5 lines
297 B
Plaintext
Raw Normal View History

2020-06-30 12:49:37 +02:00
When a collection is populated but its contents are never used, then it is surely some kind of mistake. Either refactoring has rendered the collection moot, or an access is missing.
2021-02-02 15:02:10 +01:00
2020-06-30 12:49:37 +02:00
This rule raises an issue when no methods are called on a collection other than those that add or remove values.