Project

General

Profile

Bug #6454 » bad_inspect.patch

tenderlovemaking (Aaron Patterson), 05/19/2012 07:19 AM

View differences:

test/ruby/test_class.rb
# Start of tests
# ------------------
def test_inspect_changes
x = Class.new
x.inspect
y = x.dup
refute_equal x, y
refute_equal x.inspect, y.inspect
end
def test_s_inherited
assert_equal([ClassTwo, ClassThree, ClassFour], ClassOne.new.subs)
end
(1-1/3)