Layout/LineEndStringConcatenationIndentation
: false positive offense when no backslashes used
#9905
Labels
Layout/LineEndStringConcatenationIndentation
: false positive offense when no backslashes used
#9905
The
Layout/LineEndStringConcatenationIndentation
cop shows a false positive offense even when no backslashes are used to concatenate strings, such as in the example below. (rubocop -d
output is provided below in the template.)Expected behavior
I would expect the example provided above to not be an offense (with respect to the
Layout/LineEndStringConcatenationIndentation
cop).Actual behavior
An offense was shown.
Steps to reproduce the problem
test .rb
file similar to the example provided (with string concatenation that does not use backslashes to span multiple lines).rubocop --only Layout/LineEndStringConcatenationIndentation -d -- test.rb
.RuboCop version
The text was updated successfully, but these errors were encountered: