diff --git a/config/flay.yml b/config/flay.yml index b5974848..da56be0d 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 18 -total_score: 1233 +total_score: 1236 diff --git a/lib/mutant/meta/example.rb b/lib/mutant/meta/example.rb index b1e06adf..8eedcda1 100644 --- a/lib/mutant/meta/example.rb +++ b/lib/mutant/meta/example.rb @@ -31,8 +31,8 @@ module Mutant # @api private # def generated - Mutant::Mutator.each(node).map do |node| - Mutant::Mutation::Evil.new(self, node) + Mutator.each(node).map do |node| + Mutation::Evil.new(self, node) end end memoize :generated diff --git a/lib/mutant/reporter/cli/printer.rb b/lib/mutant/reporter/cli/printer.rb index 8292e33b..63e65187 100644 --- a/lib/mutant/reporter/cli/printer.rb +++ b/lib/mutant/reporter/cli/printer.rb @@ -176,7 +176,7 @@ module Mutant # @api private # def active_subject_results - active_mutation_jobs = active_jobs.select { |job| job.payload.kind_of?(Mutant::Mutation) } + active_mutation_jobs = active_jobs.select { |job| job.payload.kind_of?(Mutation) } active_subjects = active_mutation_jobs.map(&:payload).flat_map(&:subject).to_set payload.subject_results.select do |subject_result|