lib/rubocop/formatter/offense_count_formatter.rb in rubocop-1.9.1 vs lib/rubocop/formatter/offense_count_formatter.rb in rubocop-1.10.0

- old
+ new

@@ -61,10 +61,10 @@ output.puts end # rubocop:enable Metrics/AbcSize def ordered_offense_counts(offense_counts) - Hash[offense_counts.sort_by { |k, v| [-v, k] }] + offense_counts.sort_by { |k, v| [-v, k] }.to_h end def total_offense_count(offense_counts) offense_counts.values.sum end