From 15036bf73e6e3f011aa7218243f895c1bb2688cc Mon Sep 17 00:00:00 2001 From: Aboling0 <142766788+Aboling0@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:26:20 -0600 Subject: [PATCH] Update simplecov-console.rb Fixes #23 --- lib/simplecov-console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simplecov-console.rb b/lib/simplecov-console.rb index 4104507..68df30c 100644 --- a/lib/simplecov-console.rb +++ b/lib/simplecov-console.rb @@ -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