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 and amatsuda committed Jan 13, 2025
1 parent 34c1581 commit f167f76
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 f167f76

Please sign in to comment.