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

- old
+ new

@@ -42,10 +42,10 @@ MSG = 'Prefer `be` over `eql`.' RESTRICT_ON_SEND = %i[to].freeze # @!method eql_type_with_identity(node) - def_node_matcher :eql_type_with_identity, <<-PATTERN + def_node_matcher :eql_type_with_identity, <<~PATTERN (send _ :to $(send nil? :eql {true false int float sym nil})) PATTERN def on_send(node) eql_type_with_identity(node) do |eql|