summaryrefslogtreecommitdiff
path: root/tool/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-13 20:41:03 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-13 20:41:03 +0900
commit455978cd133f27fab9e2bfa4301efd3b7c7d0462 (patch)
treeaa0d070928fa28f562252a95cdb1c4d898ce345c /tool/lib
parentf5993331b2737a212134cb0b9e3a7a0d417e0d58 (diff)
Removed unused mu_pp method
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/test/unit/assertions.rb11
1 files changed, 0 insertions, 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
@@ -89,17 +89,6 @@ module Test
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
# newlines and makes hex-values generic (like object_ids). This