lib/mutant/reporter/cli/printer.rb in mutant-0.7.8 vs lib/mutant/reporter/cli/printer.rb in mutant-0.7.9

- old
+ new

@@ -174,11 +174,11 @@ # @return [Array<Result::Subject>] # # @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| active_subjects.include?(subject_result.subject) end @@ -256,10 +256,10 @@ # @return [Float] # # @api private # def coverage_percent - (coverage * 100).to_f + coverage * 100 end # Return overhead percent # # @return [Float]