Skip to content

Commit

Permalink
Update simple_formatter.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
corsonknowles authored Nov 2, 2024
1 parent b6c2d42 commit 8315047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov/formatter/simple_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8315047

Please sign in to comment.