[DRE-commits] [ruby-minitest] 02/04: Refresh patches

Lucas Nussbaum lucas at moszumanska.debian.org
Sun Jul 2 15:23:27 UTC 2017


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

lucas pushed a commit to branch master
in repository ruby-minitest.

commit a65c84dfe860923da1cf29da4c781cbd2b7d7b58
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Sun Jul 2 14:48:29 2017 +0200

    Refresh patches
---
 debian/patches/disable-require-rubygems |  2 +-
 debian/patches/disable-some-tests       | 22 +++++++++++-----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/debian/patches/disable-require-rubygems b/debian/patches/disable-require-rubygems
index 1697e01..bf2ca19 100644
--- a/debian/patches/disable-require-rubygems
+++ b/debian/patches/disable-require-rubygems
@@ -16,7 +16,7 @@ Last-Update: 2016-06-01
  require "minitest/mock"
 --- a/lib/minitest.rb
 +++ b/lib/minitest.rb
-@@ -86,7 +86,7 @@
+@@ -87,7 +87,7 @@ module Minitest
  
      seen = {}
  
diff --git a/debian/patches/disable-some-tests b/debian/patches/disable-some-tests
index f21b9dc..d03e8a6 100644
--- a/debian/patches/disable-some-tests
+++ b/debian/patches/disable-some-tests
@@ -4,25 +4,25 @@ Last-Update: 2016-06-01
 ---
 --- a/test/minitest/test_minitest_test.rb
 +++ b/test/minitest/test_minitest_test.rb
-@@ -183,7 +183,7 @@
+@@ -229,7 +229,7 @@ class TestMinitestRunner < MetaMetaMetaT
      assert_report expected
    end
  
 -  def test_run_error
 +  def est_run_error
      @tu =
-     Class.new Minitest::Test do
+     Class.new FakeNamedTest do
        def test_something
-@@ -211,7 +211,7 @@
+@@ -257,7 +257,7 @@ class TestMinitestRunner < MetaMetaMetaT
      assert_report expected
    end
  
 -  def test_run_error_teardown
 +  def est_run_error_teardown
      @tu =
-     Class.new Minitest::Test do
+     Class.new FakeNamedTest do
        def test_something
-@@ -1148,7 +1148,7 @@
+@@ -1301,7 +1301,7 @@ class TestMinitestUnitTestCase < Minites
      end
    end
  
@@ -31,7 +31,7 @@ Last-Update: 2016-06-01
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises do
          raise SomeError, "blah"
-@@ -1196,7 +1196,7 @@
+@@ -1349,7 +1349,7 @@ class TestMinitestUnitTestCase < Minites
      end
    end
  
@@ -40,7 +40,7 @@ Last-Update: 2016-06-01
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises RuntimeError do
          raise SyntaxError, "icky"
-@@ -1218,7 +1218,7 @@
+@@ -1371,7 +1371,7 @@ class TestMinitestUnitTestCase < Minites
      assert_equal expected, actual
    end
  
@@ -49,7 +49,7 @@ Last-Update: 2016-06-01
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises RuntimeError, "XXX" do
          raise SyntaxError, "icky"
-@@ -1271,7 +1271,7 @@
+@@ -1424,7 +1424,7 @@ class TestMinitestUnitTestCase < Minites
      end
    end
  
@@ -58,18 +58,18 @@ Last-Update: 2016-06-01
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises SomeError do
          raise AnError, "some message"
-@@ -1848,7 +1848,7 @@
+@@ -2072,7 +2072,7 @@ class TestMinitestUnitRecording < MetaMe
      end
    end
  
 -  def test_to_s_error_in_test_and_teardown
 +  def est_to_s_error_in_test_and_teardown
-     @tu = Class.new Minitest::Test do
+     @tu = Class.new FakeNamedTest do
        def test_method
          raise AnError
 --- a/test/minitest/test_minitest_reporter.rb
 +++ b/test/minitest/test_minitest_reporter.rb
-@@ -228,7 +228,7 @@
+@@ -234,7 +234,7 @@ class TestMinitestReporter < MetaMetaMet
      assert_equal exp, normalize_output(io.string)
    end
  

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



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