summaryrefslogtreecommitdiff
path: root/test/test_pp.rb
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
commit4319b48ab6aef267f1ff3e1e0a68b8d63a193765 (patch)
tree9b701a195ea778fd1323ef69976f6f4f4b5f4889 /test/test_pp.rb
parent52ebc24487f3d1553c436c3ab9fbf8784379961d (diff)
* lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of
instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pp.rb')
-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 604cbc5..fe65287 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, '')