Layout/MultilineArrayLineBreaks
tests missing
#11771
mlwyatt
started this conversation in
Maintenance
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The tests in
multiline_array_line_breaks_spec.rb
work perfectly whenAllowMultilineFinalElement
istrue
.However, there's no test for when
AllowMultilineFinalElement
isfalse
to trigger an offense for the code below, even though the docs list it as a "bad" example.To be clear, when running
rubocop
against this code, it also works perfectly.I didn't think an issue was appropriate for this since
rubocop
works fine and it's just the tests that fail.Beta Was this translation helpful? Give feedback.
All reactions