From 455978cd133f27fab9e2bfa4301efd3b7c7d0462 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 13 Sep 2021 20:41:03 +0900 Subject: [PATCH] Removed unused mu_pp method --- tool/lib/test/unit/assertions.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tool/lib/test/unit/assertions.rb b/tool/lib/test/unit/assertions.rb index 9d88a3a5ed..814dd4497e 100644 --- a/tool/lib/test/unit/assertions.rb +++ b/tool/lib/test/unit/assertions.rb @@ -88,17 +88,6 @@ module Test tempfile_b.close! if tempfile_b end - ## - # This returns a human-readable version of +obj+. By default - # #inspect is called. You can override this to use #pretty_print - # if you want. - - def mu_pp obj - s = obj.inspect - s = s.encode Encoding.default_external if defined? Encoding - s - end - ## # This returns a diff-able human-readable version of +obj+. This # differs from the regular mu_pp because it expands escaped