lib/mutant/mutator/node/send.rb in mutant-0.10.20 vs lib/mutant/mutator/node/send.rb in mutant-0.10.21

- old
+ new

@@ -12,33 +12,35 @@ handle(:send) children :receiver, :selector SELECTOR_REPLACEMENTS = IceNine.deep_freeze( - reverse_map: %i[map each], - kind_of?: %i[instance_of?], + :< => %i[== eql? equal?], + :<= => %i[< == eql? equal?], + :== => %i[eql? equal?], + :> => %i[== eql? equal?], + :>= => %i[> == eql? equal?], + __send__: %i[public_send], + all?: %i[any?], + any?: %i[all?], + at: %i[fetch key?], + eql?: %i[equal?], + fetch: %i[key?], + flat_map: %i[map], + gsub: %i[sub], is_a?: %i[instance_of?], + kind_of?: %i[instance_of?], + map: %i[each], + method: %i[public_method], reverse_each: %i[each], + reverse_map: %i[map each], reverse_merge: %i[merge], - map: %i[each], - flat_map: %i[map], send: %i[public_send __send__], - __send__: %i[public_send], - method: %i[public_method], - gsub: %i[sub], - eql?: %i[equal?], - to_s: %i[to_str], - to_i: %i[to_int], to_a: %i[to_ary], to_h: %i[to_hash], - at: %i[fetch key?], - fetch: %i[key?], - values_at: %i[fetch_values], - :== => %i[eql? equal?], - :>= => %i[> == eql? equal?], - :<= => %i[< == eql? equal?], - :> => %i[== eql? equal?], - :< => %i[== eql? equal?] + to_i: %i[to_int], + to_s: %i[to_str], + values_at: %i[fetch_values] ) RECEIVER_SELECTOR_REPLACEMENTS = IceNine.deep_freeze( Date: { parse: %i[jd civil strptime iso8601 rfc3339 xmlschema rfc2822 rfc822 httpdate jisx0301]