File: remove-simplecov.patch

package info (click to toggle)
ruby-multi-xml 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 472 kB
  • sloc: ruby: 2,822; sh: 4; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 676 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
Description: Remove simplecov
 SimpleCov is used only for code coverage analysis.
 When someone package it for debian, this patch may be removed.
Author: Praveen Arimbrathodiyil <praveen@debian.org>
Last-Update: 2017-11-17

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -21,15 +21,6 @@ def loaded_parser_consts
   %i[Ox LibXML Nokogiri Oga].select { |name| Object.const_defined?(name) }
 end
 
-require "simplecov"
-
-SimpleCov.start do
-  add_filter "/test"
-  enable_coverage :branch
-  minimum_coverage line: 100, branch: 100 unless ENV["MUTANT"]
-end
-
 require "multi_xml"
 require "minitest/autorun"
 require "minitest/mock"
-require "mutant/minitest/coverage"