Change reporter to skip the header if there are no generic mutators
This commit is contained in:
parent
9fd2b197ed
commit
ad56db3943
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ module Mutant
|
|||
#
|
||||
def print_generic_stats
|
||||
stats = generic_stats.to_a.sort_by(&:last)
|
||||
return if stats.empty?
|
||||
info('Nodes handled by generic mutator (type:occurrences):')
|
||||
stats.reverse_each do |type, amount|
|
||||
info('%-10s: %d', type, amount)
|
||||
|
|
Loading…
Reference in a new issue