diff --git a/lib/mutant/mutator/node/send.rb b/lib/mutant/mutator/node/send.rb index 729f1d8a..cd2a3a38 100644 --- a/lib/mutant/mutator/node/send.rb +++ b/lib/mutant/mutator/node/send.rb @@ -180,7 +180,10 @@ module Mutant # @api private # def emit_implicit_self - if receiver.type == :self && !KEYWORDS.include?(selector) && !attribute_assignment? && !OP_ASSIGN.include?(parent_type) + if receiver.type == :self && + !KEYWORDS.include?(selector) && + !attribute_assignment? && + !OP_ASSIGN.include?(parent_type) emit_receiver(nil) end end diff --git a/lib/mutant/mutator/node/send/attribute_assignment.rb b/lib/mutant/mutator/node/send/attribute_assignment.rb index ad7b85ec..2e891f40 100644 --- a/lib/mutant/mutator/node/send/attribute_assignment.rb +++ b/lib/mutant/mutator/node/send/attribute_assignment.rb @@ -49,4 +49,3 @@ module Mutant end # Node end # Mutator end # Mutant -