lib/rubocop/cop/rspec/expect_change.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/expect_change.rb in rubocop-rspec-2.26.0

- old
+ new

@@ -36,15 +36,15 @@ MSG_BLOCK = 'Prefer `change(%<obj>s, :%<attr>s)`.' MSG_CALL = 'Prefer `change { %<obj>s.%<attr>s }`.' RESTRICT_ON_SEND = %i[change].freeze # @!method expect_change_with_arguments(node) - def_node_matcher :expect_change_with_arguments, <<-PATTERN + def_node_matcher :expect_change_with_arguments, <<~PATTERN (send nil? :change $_ ({sym str} $_)) PATTERN # @!method expect_change_with_block(node) - def_node_matcher :expect_change_with_block, <<-PATTERN + def_node_matcher :expect_change_with_block, <<~PATTERN (block (send nil? :change) (args) (send ${