From bf957e541305d1d51f8dc45600ae316bc86e9707 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 7 Nov 2009 12:05:38 +0000 Subject: * 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 --- test/test_pp.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test') 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#\n\z/m, result) a = 1.0 a.instance_eval { @a = nil } result = PP.pp(a, '') -- cgit