diff --git a/lib/simplecov/formatter/simple_formatter.rb b/lib/simplecov/formatter/simple_formatter.rb index b99338c0..4ddcf3fc 100644 --- a/lib/simplecov/formatter/simple_formatter.rb +++ b/lib/simplecov/formatter/simple_formatter.rb @@ -14,7 +14,7 @@ def format(result) output << ("=" * 40) output << "\n" files.each do |file| - output << "#{file.filename} (coverage: #{file.covered_percent.round(2)}%)\n" + output << "#{file.filename} (coverage: #{file.covered_percent.floor(2)}%)\n" end output << "\n" end