diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-16 21:00:36 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-16 21:00:36 +0900 |
commit | f8fb51c976313b8053412c80f3f7474cdd89b4b3 (patch) | |
tree | b96beb4358516d74daaea80e0125c3a6262823f7 /tool | |
parent | 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7 (diff) | |
download | ruby-f8fb51c976313b8053412c80f3f7474cdd89b4b3.tar.gz |
Revert "alias assert_raise_message for compatibility with test-unit"
This reverts commit 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7.
`assert_raise_message` in test-unit is different from
`assert_raise_with_message`. It checks the exception message
only, but not the exception class,
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index deb9908423..1c4a254dd0 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -275,7 +275,6 @@ eom end ex end - alias assert_raise_message assert_raise_with_message def assert_warning(pat, msg = nil) result = nil |