Skip to content

False negative for Style/RedundantLineContinuation when line with continuation contains an interpolated string #13688

@dvandersluis

Description

@dvandersluis
RSpec.describe 'POST /api/v1/rewards' do
  def make_request
    post send(:"user_#{provider_name}_omniauth_callback_path"), \
         params: {},
         headers: { 'ACCEPT' => 'text/html' }
  end

  pending 'add something'
end

Split off from #13677.

RuboCop version

$ rubocop -V
1.70.0 (using Parser 3.3.6.0, rubocop-ast 1.37.0, analyzing as Ruby 2.7, running on ruby 2.7.8) [x86_64-linux]
  - rubocop-capybara 2.21.0
  - rubocop-factory_bot 2.26.1
  - rubocop-performance 1.23.1
  - rubocop-rails 2.28.0
  - rubocop-rake 0.6.0
  - rubocop-rspec 3.3.0
  - rubocop-rspec_rails 2.30.0
  - rubocop-thread_safety 0.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions