add test for previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0eeff37f94
commit
b6c5aa09a8
@ -549,6 +549,11 @@ if __FILE__ == $0
|
|||||||
assert_equal(a.inspect + "\n", PP.pp(a, ''))
|
assert_equal(a.inspect + "\n", PP.pp(a, ''))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_anonymous
|
||||||
|
a = Class.new.new
|
||||||
|
assert_equal(a.inspect + "\n", PP.pp(a, ''))
|
||||||
|
end
|
||||||
|
|
||||||
def test_withinspect
|
def test_withinspect
|
||||||
a = []
|
a = []
|
||||||
a << HasInspect.new(a)
|
a << HasInspect.new(a)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user