Skip to content

Commit

Permalink
[ruby/delegate] test: remove needless mu_pp
Browse files Browse the repository at this point in the history
It's for minitest. We don't need it with test-unit.

ruby/delegate@447cd43973
  • Loading branch information
kou authored and matzbot committed Apr 30, 2024
1 parent ade2233 commit 0c13596
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/test_delegate.rb
Expand Up @@ -3,14 +3,6 @@
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
Expand Down Expand Up @@ -215,7 +207,6 @@ def s.bar; end
end

def test_eql?
extend PP
s0 = SimpleDelegator.new("foo")
s1 = SimpleDelegator.new("bar")
s2 = SimpleDelegator.new("foo")
Expand Down

0 comments on commit 0c13596

Please sign in to comment.