rspec/rules/S1875/description.adoc

2 lines
236 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
The use of a comparison operator outside of a boolean context is an error. At best it is meaningless code, and should be eliminated. However the far more likely scenario is that it is an assignment gone wrong, and should be corrected.