diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-06 18:34:15 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-06 18:34:15 +0900 |
| commit | 940a19e4b3ae1ce466c3bc912175b4ef7c615c53 (patch) | |
| tree | 01a25878c6b057c7493f03eff992b2be037bc6b4 /test/ruby/test_exception.rb | |
| parent | 8baac078bcbdbfdc70d2c5aef938ba23f44df17b (diff) | |
Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration
Diffstat (limited to 'test/ruby/test_exception.rb')
| -rw-r--r-- | test/ruby/test_exception.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index d1ff5612d3..67f38c2e91 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -577,7 +577,7 @@ end.join end end; end - rescue Minitest::Assertion + rescue Test::Unit::AssertionFailedError # Possibly compiled with -DRUBY_DEBUG, in which # case rb_bug is used instead of NoMemoryError, # and we cannot test ensure after NoMemoryError. |
