summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-07 12:05:38 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-07 12:05:38 +0000
commitbf957e541305d1d51f8dc45600ae316bc86e9707 (patch)
tree9b701a195ea778fd1323ef69976f6f4f4b5f4889 /test
parent0e7d135b9a98ba93cee9f49603b4a2a85366a55f (diff)
downloadruby-bf957e541305d1d51f8dc45600ae316bc86e9707.tar.gz
ruby-bf957e541305d1d51f8dc45600ae316bc86e9707.tar.xz
ruby-bf957e541305d1d51f8dc45600ae316bc86e9707.zip
* lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of
instance variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/test_pp.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_pp.rb b/test/test_pp.rb
index 604cbc509..fe65287d8 100644
--- a/test/test_pp.rb
+++ b/test/test_pp.rb
@@ -107,7 +107,6 @@ class PPInspectTest < Test::Unit::TestCase
a.instance_eval { @a = nil }
result = PP.pp(a, '')
assert_equal("#{a.inspect}\n", result)
- assert_match(/\A#<Object.*>\n\z/m, result)
a = 1.0
a.instance_eval { @a = nil }
result = PP.pp(a, '')