summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSutou Kouhei <[email protected]>2024-04-30 22:31:07 +0900
committergit <[email protected]>2024-04-30 23:31:26 +0000
commit0c13596686823427a52253ae0fdea9b37f0533a0 (patch)
treeecffc10248d18b09b148e9236c27a1185138ae2c
parentade22339e3056710dbe27eaa624c2e76fa15567b (diff)
[ruby/delegate] test: remove needless mu_pp
It's for minitest. We don't need it with test-unit. https://github.com/ruby/delegate/commit/447cd43973
-rw-r--r--test/test_delegate.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/test_delegate.rb b/test/test_delegate.rb
index 57480b18ea..f7bedf37fb 100644
--- a/test/test_delegate.rb
+++ b/test/test_delegate.rb
@@ -3,14 +3,6 @@ require 'test/unit'
require 'delegate'
class TestDelegateClass < Test::Unit::TestCase
- module PP
- def mu_pp(obj)
- str = super
- str = "#<#{obj.class}: #{str}>" if Delegator === obj
- str
- end
- end
-
module M
attr_reader :m
end
@@ -215,7 +207,6 @@ class TestDelegateClass < Test::Unit::TestCase
end
def test_eql?
- extend PP
s0 = SimpleDelegator.new("foo")
s1 = SimpleDelegator.new("bar")
s2 = SimpleDelegator.new("foo")