diff --git a/lib/simplecov-html.rb b/lib/simplecov-html.rb index 69a0c15..9131bad 100644 --- a/lib/simplecov-html.rb +++ b/lib/simplecov-html.rb @@ -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