Improve usage of child nameing in case mutator

This commit is contained in:
Markus Schirp 2013-06-21 15:53:33 +02:00
parent 5ecb8a4b4a
commit 9e96831cc1

View file

@ -29,7 +29,7 @@ module Mutant
# @api private
#
def emit_branch_mutations
children.each_with_index.drop(1).each do |child, index|
remaining_children_with_index.each do |child, index|
next unless child
mutate_index(index)
end