1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "alias assert_raise_message for compatibility with test-unit"

This reverts commit 43015275b9.

`assert_raise_message` in test-unit is different from
`assert_raise_with_message`.  It checks the exception message
only, but not the exception class,
This commit is contained in:
Nobuyoshi Nakada 2019-10-16 21:00:36 +09:00
parent 43015275b9
commit f8fb51c976
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -275,7 +275,6 @@ eom
end
ex
end
alias assert_raise_message assert_raise_with_message
def assert_warning(pat, msg = nil)
result = nil