From e1aa72d44104297b51d0fd05dfb5858f3ccd8522 Mon Sep 17 00:00:00 2001 From: eregon Date: Tue, 14 Aug 2012 10:21:04 +0000 Subject: update PP with recent Kernel#inspect change. Patch by Yusuke Endoh. * lib/pp.rb (class PP): do not call #to_s anymore, as #inspect no more does. * test/test_pp.rb (class PPInspectTest): remove related assertion. [ruby-core:43238][Feature #6130] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_pp.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test/test_pp.rb') diff --git a/test/test_pp.rb b/test/test_pp.rb index fe65287d88..acd3e835b9 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -118,7 +118,6 @@ 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