File: 0001-remove-coveralls-and-simplecov-from-test_helper.patch

package info (click to toggle)
ruby-rantly 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: ruby: 832; makefile: 4
file content (39 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download | duplicates (3)
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
39
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Sun, 20 Nov 2022 22:54:01 +0100
Subject: remove coveralls and simplecov from test_helper

Bug-Debian: https://bugs.debian.org/1019650
---
 test/test_helper.rb | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/test/test_helper.rb b/test/test_helper.rb
index e322849..afc6912 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,14 +1,14 @@
-# Require simplecov and coveralls before rantly application code.
-require 'simplecov'
-SimpleCov.start
-
-begin
-  # Coveralls is marked as an _optional_ dependency, so don't
-  # throw a fit if it's not there.
-  require 'coveralls'
-  Coveralls.wear!
-rescue LoadError
-end
+## Require simplecov and coveralls before rantly application code.
+#require 'simplecov'
+#SimpleCov.start
+#
+#begin
+#  # Coveralls is marked as an _optional_ dependency, so don't
+#  # throw a fit if it's not there.
+#  require 'coveralls'
+#  Coveralls.wear!
+#rescue LoadError
+#end
 
 # Require rantly.
 require 'minitest/autorun'