Skip to content

Commit f167f76

Browse files
corsonknowlesamatsuda
authored andcommitted
Update simple_formatter.rb
1 parent 34c1581 commit f167f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/simplecov/formatter/simple_formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def format(result)
1414
output << ("=" * 40)
1515
output << "\n"
1616
files.each do |file|
17-
output << "#{file.filename} (coverage: #{file.covered_percent.round(2)}%)\n"
17+
output << "#{file.filename} (coverage: #{file.covered_percent.floor(2)}%)\n"
1818
end
1919
output << "\n"
2020
end

0 commit comments

Comments
 (0)