diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-16 03:57:52 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-16 03:57:52 +0000 |
commit | b6c5aa09a83e96ca8821c75e81ed2894f83b4d57 (patch) | |
tree | f53bcc4954fd0674140b67ab3449efa1212df3c4 /lib/pp.rb | |
parent | 0eeff37f94ca82353df343d4edeca8316cdec0c9 (diff) |
add test for previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r-- | lib/pp.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -549,6 +549,11 @@ if __FILE__ == $0 assert_equal(a.inspect + "\n", PP.pp(a, '')) end + def test_anonymous + a = Class.new.new + assert_equal(a.inspect + "\n", PP.pp(a, '')) + end + def test_withinspect a = [] a << HasInspect.new(a) |