Refactor Mutator::Node::Connective::Binary#mutate_operands

This commit is contained in:
Dan Kubb 2013-07-24 10:54:33 -07:00
parent ddc0b79ed6
commit 7f6980c40a

View file

@ -48,8 +48,8 @@ module Mutant
# @api private # @api private
# #
def mutate_operands def mutate_operands
emit(s(node.type, s(:not, left), right)) emit(s(node.type, n_not(left), right))
emit(s(node.type, left, s(:not, right))) emit(s(node.type, left, n_not(right)))
end end
end # Binary end # Binary