lib/mutant/mutator/node/send/binary.rb in mutant-0.5.19 vs lib/mutant/mutator/node/send/binary.rb in mutant-0.5.20
- old
+ new
@@ -1,7 +1,5 @@
-# encoding: utf-8
-
module Mutant
class Mutator
class Node
class Send
@@ -20,10 +18,10 @@
#
def dispatch
emit(left)
emit_left_mutations
emit_selector_replacement
- emit(right) unless right.type == :splat
+ emit(right) unless n_splat?(right)
emit_right_mutations
end
end # Binary