summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-08-07 17:57:56 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-08-09 08:21:21 +0200
commitff174fc7c9400a76fad135161d5a965a58b23bb8 (patch)
tree58921f059b7330943a677a2aaeb2dc194d5eb7e7 /dev-ruby/power_assert
parentdev-ruby/pdf-reader: remove unused patch. (diff)
downloadgentoo-ff174fc7c9400a76fad135161d5a965a58b23bb8.tar.gz
gentoo-ff174fc7c9400a76fad135161d5a965a58b23bb8.tar.bz2
gentoo-ff174fc7c9400a76fad135161d5a965a58b23bb8.zip
dev-ruby/power_assert: remove unused patch.
Diffstat (limited to 'dev-ruby/power_assert')
-rw-r--r--dev-ruby/power_assert/files/power_assert-0.2.6-ruby23-tests.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/dev-ruby/power_assert/files/power_assert-0.2.6-ruby23-tests.patch b/dev-ruby/power_assert/files/power_assert-0.2.6-ruby23-tests.patch
deleted file mode 100644
index 39aee08396c2..000000000000
--- a/dev-ruby/power_assert/files/power_assert-0.2.6-ruby23-tests.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From b1bf60605303a4d60fd398fb75e04e4ff1568b0d Mon Sep 17 00:00:00 2001
-From: Kazuki Tsujimoto <kazuki@callcc.net>
-Date: Sat, 26 Dec 2015 17:57:03 +0900
-Subject: [PATCH] Encoding::CompatibilityError is no longer raised as of ruby
- 2.3.0
-
----
- test/test_power_assert.rb | 31 +++++++++++--------------------
- 1 file changed, 11 insertions(+), 20 deletions(-)
-
-diff --git a/test/test_power_assert.rb b/test/test_power_assert.rb
-index 272b8d1..863f8cc 100644
---- a/test/test_power_assert.rb
-+++ b/test/test_power_assert.rb
-@@ -345,27 +345,18 @@ def test_inspection_failure
- assertion_message { BasicObjectSubclass.new.foo }
-
-
-- verbose = $VERBOSE
-- default_external = Encoding.default_external
-- default_internal = Encoding.default_internal
-- begin
-- $VERBOSE = nil
-- Encoding.default_external = 'cp932'
-- Encoding.default_internal = 'utf-8'
-- ary = ["\u3042"]
-- assert_match Regexp.new(<<END.chomp.gsub('|', "\\|")), assertion_message {
-- ary.length
-- | |
-- | 1
-- InspectionFailure: Encoding::CompatibilityError: .*
--END
-- ary.length
-- }
-- ensure
-- Encoding.default_internal = default_internal
-- Encoding.default_external = default_external
-- $VERBOSE = verbose
-+ o = Object.new
-+ def o.inspect
-+ raise
- end
-+ assert_equal <<END.chomp.b, assertion_message {
-+ o.class
-+ | |
-+ | Object
-+ InspectionFailure: RuntimeError:
-+END
-+ o.class
-+ }
- end
-
- def test_assertion_message_with_incompatible_encodings