lib/mutant/mutator/node/connective/binary.rb in mutant-0.3.0.rc1 vs lib/mutant/mutator/node/connective/binary.rb in mutant-0.3.0.rc2
- old
+ new
@@ -7,11 +7,11 @@
# Mutation emitter to handle binary connectives
class Binary < Node
INVERSE = {
- :and => :or,
- :or => :and,
+ and: :or,
+ or: :and
}.freeze
handle(*INVERSE.keys)
children :left, :right