diff options
author | Sutou Kouhei <[email protected]> | 2024-04-30 22:31:07 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-04-30 23:31:26 +0000 |
commit | 0c13596686823427a52253ae0fdea9b37f0533a0 (patch) | |
tree | ecffc10248d18b09b148e9236c27a1185138ae2c | |
parent | ade22339e3056710dbe27eaa624c2e76fa15567b (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.rb | 9 |
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") |