File: 0001-Do-not-use-simplecov-or-coverall-in-tests.patch

package info (click to toggle)
ruby-sixarm-ruby-unaccent 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 616 kB
  • sloc: ruby: 4,108; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 942 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
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Sun, 20 Nov 2022 23:03:17 +0100
Subject: Do not use simplecov or coverall in tests

Bug-Debian: https://bugs.debian.org/1019668
---
 test/sixarm_ruby_unaccent_test.rb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/sixarm_ruby_unaccent_test.rb b/test/sixarm_ruby_unaccent_test.rb
index bfeed1b..9fc47cd 100644
--- a/test/sixarm_ruby_unaccent_test.rb
+++ b/test/sixarm_ruby_unaccent_test.rb
@@ -1,9 +1,9 @@
 # -*- coding: utf-8 -*-
 require "minitest/autorun"
 #require "minitest/benchmark" if ENV["BENCH"]
-require "simplecov"
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
-  SimpleCov::Formatter::HTMLFormatter,
-])
-SimpleCov.start
+#require "simplecov"
+#SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
+#  SimpleCov::Formatter::HTMLFormatter,
+#])
+#SimpleCov.start
 require "sixarm_ruby_unaccent"