Refactor Mutator::Node::Connective::Binary#mutate_operands
This commit is contained in:
parent
ddc0b79ed6
commit
7f6980c40a
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def mutate_operands
|
||||
emit(s(node.type, s(:not, left), right))
|
||||
emit(s(node.type, left, s(:not, right)))
|
||||
emit(s(node.type, n_not(left), right))
|
||||
emit(s(node.type, left, n_not(right)))
|
||||
end
|
||||
|
||||
end # Binary
|
||||
|
|
Loading…
Add table
Reference in a new issue