Remove unneded constant qualifiers

This commit is contained in:
Markus Schirp 2015-05-02 23:11:44 +00:00
parent 5903214033
commit 12abeff033
3 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
--- ---
threshold: 18 threshold: 18
total_score: 1233 total_score: 1236

View file

@ -31,8 +31,8 @@ module Mutant
# @api private # @api private
# #
def generated def generated
Mutant::Mutator.each(node).map do |node| Mutator.each(node).map do |node|
Mutant::Mutation::Evil.new(self, node) Mutation::Evil.new(self, node)
end end
end end
memoize :generated memoize :generated

View file

@ -176,7 +176,7 @@ module Mutant
# @api private # @api private
# #
def active_subject_results 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 active_subjects = active_mutation_jobs.map(&:payload).flat_map(&:subject).to_set
payload.subject_results.select do |subject_result| payload.subject_results.select do |subject_result|