[DRE-commits] [ruby-css-parser] 10/11: Use minitest instead of maxitest in the tests. Maxitest does the same as minitest, but with some fancy features, like colorized output.

Lucas Kanashiro kanashiro at moszumanska.debian.org
Sun Aug 27 23:40:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

kanashiro pushed a commit to branch master
in repository ruby-css-parser.

commit 765f96c516a598c528f75267a1598b11c1b37637
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Sun Aug 27 20:14:36 2017 -0300

    Use minitest instead of maxitest in the tests. Maxitest does the same as minitest, but with some fancy features, like colorized output.
---
 debian/changelog                              | 2 ++
 debian/control                                | 1 +
 debian/patches/0001-Sanitize-test-suite.patch | 6 ++++--
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1a48645..29a175b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,8 @@ ruby-css-parser (1.5.0.pre2-1) UNRELEASED; urgency=medium
     - add me as uploader
     - update debian/docs
     - debian/watch: use pkg-ruby-extras gemwatch
+  * Use minitest instead of maxitest in the tests. Maxitest does the same as
+    minitest, but with some fancy features, like colorized output.
 
  -- Lucas Kanashiro <kanashiro at debian.org>  Fri, 11 Aug 2017 12:58:54 -0300
 
diff --git a/debian/control b/debian/control
index 73485e3..cb2e550 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 10~),
                gem2deb,
                rake,
                ruby-addressable,
+               ruby-minitest,
                ruby-test-unit
 Standards-Version: 4.0.0
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-css-parser.git
diff --git a/debian/patches/0001-Sanitize-test-suite.patch b/debian/patches/0001-Sanitize-test-suite.patch
index 23b26bf..6e2f30f 100644
--- a/debian/patches/0001-Sanitize-test-suite.patch
+++ b/debian/patches/0001-Sanitize-test-suite.patch
@@ -8,8 +8,10 @@ Subject: Sanitize test suite
 
 --- a/test/test_helper.rb
 +++ b/test/test_helper.rb
-@@ -1,4 +1,3 @@
+@@ -1,5 +1,4 @@
 -require 'bundler/setup'
- require 'maxitest/autorun'
+-require 'maxitest/autorun'
++require 'minitest/autorun'
  require 'net/http'
  require 'webrick'
+ require 'css_parser'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-css-parser.git



More information about the Pkg-ruby-extras-commits mailing list