File: 0007-fix-coverage-report-format.patch

package info (click to toggle)
ruby-simplecov 0.22.0-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,512 kB
  • sloc: ruby: 5,550; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix formatting of coverage report format
Author: Akira Matsuda <ronnie@dio.jp>
Applied-Upstream: f03be8aa02718dccd2768293d5a9a94bcd5588fb
Reviewed-by: Simon Quigley <tsimonq2@debian.org>
Last-Update: 2026-02-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/coverage_for_eval_spec.rb
+++ b/spec/coverage_for_eval_spec.rb
@@ -19,7 +19,7 @@ RSpec.describe "coverage for eval" do
       let(:command) { "#{RbConfig.ruby} eval_test.rb" }
 
       it "records coverage for erb" do
-        expect(@stdout).to include(" 2 / 3 LOC")
+        expect(@stdout).to include("Line Coverage: 66.67% (2 / 3)")
       end
     end
   end