Skip to content

Commit

Permalink
Merge pull request #24 from Aboling0/patch-1
Browse files Browse the repository at this point in the history
Update simplecov-console.rb
  • Loading branch information
chetan authored Sep 17, 2024
2 parents eef8945 + 15036bf commit d19bd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov-console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def format(result)
puts "COVERAGE: #{colorize(pct(result.covered_percent))} -- #{result.covered_lines}/#{result.total_lines} lines in #{result.files.size} files"
show_branch_coverage = show_branch_coverage?(result)
if show_branch_coverage
puts "BRANCH COVERAGE: #{colorize(pct(result.coverage_statistics[:branch].percent))} -- #{result.covered_branches}/#{result.total_branches} branches in #{result.files.size} branches"
puts "BRANCH COVERAGE: #{colorize(pct(result.coverage_statistics[:branch].percent))} -- #{result.covered_branches}/#{result.total_branches} branches in #{result.files.size} files"
end
puts

Expand Down

0 comments on commit d19bd4f

Please sign in to comment.