rspec/rules/S3923/description.adoc
2020-12-23 14:59:06 +01:00

2 lines
229 B
Plaintext

Having all branches in a ``switch`` or ``if`` chain with the same implementation is an error. Either a copy-paste error was made and something different should be executed, or there shouldn't be a ``switch``/``if`` chain at all.