diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-29 16:21:18 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-29 16:21:18 +0000 |
commit | 788181a4eb5b6e50d9a28aeab274dff4f170dbe6 (patch) | |
tree | e1569ee9b1c3a6957efa4040b0dee6d07582e33b /lib/pp.rb | |
parent | 2f2143a2bef3d2e3d93fbb044c5f066b57cefc2b (diff) |
fix object address test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r-- | lib/pp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ if __FILE__ == $0 def test_object a = Object.new a.instance_eval {@a = a} - hex = '0x' + ('%x'%a.id) + hex = '0x' + ('%x' % (a.id * 2)) assert_equal("#<Object:#{hex} @a=#<Object:#{hex} ...>>\n", PP.pp(a, 79, '')) end |