rspec/rules/S3562/description.adoc

2 lines
223 B
Plaintext
Raw Normal View History

For completeness, a `+switch+` over the values of an `+enum+` must either address each value in the `+enum+` or contain a `+default+` case. `+switch+` statements that are not over `+enum+` must end with a `+default+` case.