diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-09 17:44:01 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-09 18:14:21 +0900 |
| commit | c423cc932ee16f64a845e710d92baf79729eae63 (patch) | |
| tree | 8235ebdaba1e5b03543c204096a93b577af5652c /spec/ruby/core/float/shared | |
| parent | fc913ad21dcb04bd3d3786f9a3072a6717a52a9a (diff) | |
Refactor `Test::Unit::CoreAssertions#assert_nothing_raised`
* Separate exception classes to be rescued or reraised
* Use the filtered backtrace in the failure message
* Raise a new `AssertionFailedError` with the original backtrace
Diffstat (limited to 'spec/ruby/core/float/shared')
0 files changed, 0 insertions, 0 deletions
