Fix test_module.rb

This commit is contained in:
zverok 2019-10-27 13:32:17 +02:00 committed by Koichi Sasada
parent 4b583cff97
commit baf482bab4
Notes: git 2019-11-20 13:43:19 +09:00

View file

@ -2372,7 +2372,7 @@ class TestModule < Test::Unit::TestCase
A.prepend InspectIsShallow A.prepend InspectIsShallow
expect = "#<Method: A(ShallowInspect)#inspect(shallow_inspect) -:7>" expect = "#<Method: A(ShallowInspect)#inspect(shallow_inspect)() -:7>"
assert_equal expect, A.new.method(:inspect).inspect, "#{bug_10282}" assert_equal expect, A.new.method(:inspect).inspect, "#{bug_10282}"
RUBY RUBY
end end