Skip to content

Commit

Permalink
Update simplecov-console.rb
Browse files Browse the repository at this point in the history
Fixes chetan#23
  • Loading branch information
Aboling0 authored Sep 16, 2024
1 parent eef8945 commit 15036bf
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 15036bf

Please sign in to comment.