diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-18 15:42:11 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-18 17:36:06 +0900 |
commit | d1b8544b4df4d5620b05090f1bdd4234d4c2e2b5 (patch) | |
tree | e9e65bcd764b606dcc8034d8b13d23ade9e186f4 /tool | |
parent | 9d2abb8e924158d0324dd3790dd457dc984eddf2 (diff) |
Remove `Test::Unit::Assertions#exception_details`
Never used since fa0f3eff228bb26de6d5b0e1238b1f358165dbd0.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4983
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/test/unit/assertions.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tool/lib/test/unit/assertions.rb b/tool/lib/test/unit/assertions.rb index 065a7a0a46..3deeb8fcdc 100644 --- a/tool/lib/test/unit/assertions.rb +++ b/tool/lib/test/unit/assertions.rb @@ -345,20 +345,6 @@ module Test end ## - # Returns details for exception +e+ - - def exception_details e, msg - [ - "#{msg}", - "Class: <#{e.class}>", - "Message: <#{e.message.inspect}>", - "---Backtrace---", - "#{Test::filter_backtrace(e.backtrace).join("\n")}", - "---------------", - ].join "\n" - end - - ## # Fails with +msg+ def flunk msg = nil |