lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -42,10 +42,10 @@
first_let = lets.first
lets.each_with_index do |node, idx|
next if node.sibling_index == first_let.sibling_index + idx
- add_offense(node, location: :expression)
+ add_offense(node)
end
end
end
end
end