File: no_simplecov.patch

package info (click to toggle)
ruby-brandur-json-schema 0.19.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 376 kB
  • sloc: ruby: 3,764; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: no simplecov in tests
Forwarded: not-needed
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2018-11-18

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,16 +1,3 @@
-if RUBY_VERSION >= '2.0.0'
-  require 'simplecov'
-  SimpleCov.start do
-    # We do our utmost to test our executables by modularizing them into
-    # testable pieces, but testing them to completion is nearly impossible as
-    # far as I can tell, so include them in our tests but don't calculate
-    # coverage.
-    add_filter "/bin/"
-
-    add_filter "/test/"
-  end
-end
-
 require "minitest"
 require "minitest/autorun"
 #require "pry-rescue/minitest"