lib/rubocop/cop/rspec/focus.rb in rubocop-rspec-2.11.1 vs lib/rubocop/cop/rspec/focus.rb in rubocop-rspec-2.12.0
- old
+ new
@@ -67,13 +67,11 @@
metadata(node, &block)
end
def with_surrounding(focus)
- range_with_space = range_with_surrounding_space(
- range: focus.loc.expression,
- side: :left
- )
+ range_with_space =
+ range_with_surrounding_space(focus.loc.expression, side: :left)
range_with_surrounding_comma(range_with_space, :left)
end
def correct_send(corrector, focus)