rspec/rules/S4158/why-dotnet.adoc

4 lines
197 B
Plaintext
Raw Permalink Normal View History

== Why is this an issue?
When a collection is empty, iterating it has no effect. Doing so anyway is likely a bug; either population was accidentally omitted, or the iteration needs to be revised.