mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration
This commit is contained in:
parent
8baac078bc
commit
940a19e4b3
6 changed files with 7 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue