File: 0004-no_simplecov.patch

package info (click to toggle)
nanoc 4.13.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,576 kB
  • sloc: ruby: 41,538; sh: 31; makefile: 15
file content (38 lines) | stat: -rw-r--r-- 950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Fri, 29 Jan 2021 07:43:55 -0300
Subject: do not load simplecov in tests

Forwarded: not needed
Last-Update: 2018-11-06
---
 common/spec/spec_helper_head_core.rb | 3 ---
 nanoc/test/helper.rb                 | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/common/spec/spec_helper_head_core.rb b/common/spec/spec_helper_head_core.rb
index 8b26edd..e1e3356 100644
--- a/common/spec/spec_helper_head_core.rb
+++ b/common/spec/spec_helper_head_core.rb
@@ -1,8 +1,5 @@
 # frozen_string_literal: true
 
-require 'simplecov'
-SimpleCov.start
-
 ENV['NANOC_DEV_MODE'] = 'true'
 
 require 'fuubar'
diff --git a/nanoc/test/helper.rb b/nanoc/test/helper.rb
index c8cc29b..f22b748 100644
--- a/nanoc/test/helper.rb
+++ b/nanoc/test/helper.rb
@@ -2,9 +2,6 @@
 
 $VERBOSE = false
 
-require 'simplecov'
-SimpleCov.start
-
 require 'minitest/autorun'
 require 'mocha/minitest'
 require 'vcr'