Improve usage of child nameing in case mutator
This commit is contained in:
parent
5ecb8a4b4a
commit
9e96831cc1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue