From 780e7d0951aefa64264e21d15d8deefeded6465f Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 15 Aug 2012 01:09:10 +0000 Subject: Revert r36699 and r36700. [Feature #6130] Revert "Kernel#inspect: improve consistency and do not call #to_s." Revert "update PP with recent Kernel#inspect change. Patch by Yusuke Endoh." r36699 cause test-all failure on test/drb/test_drb.rb and test/drb/test_drbssl.rb. Run test-all before commit. Moreover its ChangeLog formst is wrong: see CommitterHowto https://bugs.ruby-lang.org/projects/ruby/wiki/CommitterHowto#ChangeLog git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_pp.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/test_pp.rb') diff --git a/test/test_pp.rb b/test/test_pp.rb index acd3e835b9..fe65287d88 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -118,6 +118,7 @@ class PPInspectTest < Test::Unit::TestCase def a.to_s() "aaa" end result = PP.pp(a, '') assert_equal("#{a.inspect}\n", result) + assert_equal("aaa\n", result) end end -- cgit v1.2.3