Skip to content

Commit

Permalink
👮
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Oct 29, 2023
1 parent 3fa764a commit 21c17b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/simplecov-html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ def format(result)

def output_message(result)
str = "Coverage report generated for #{result.command_name} to #{output_path}. #{result.covered_lines} / #{result.total_lines} LOC (#{result.covered_percent.round(2)}%) covered."
if branchable_result?
str += " #{result.covered_branches} / #{result.total_branches} branches (#{result.coverage_statistics[:branch].percent.round(2)}%) covered."
end
str += " #{result.covered_branches} / #{result.total_branches} branches (#{result.coverage_statistics[:branch].percent.round(2)}%) covered." if branchable_result?
str
end

Expand Down

0 comments on commit 21c17b5

Please sign in to comment.