summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-16 21:00:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-16 21:00:36 +0900
commitf8fb51c976313b8053412c80f3f7474cdd89b4b3 (patch)
treeb96beb4358516d74daaea80e0125c3a6262823f7
parent43015275b9a7f2833c93ad11ea96ae4cb3b7acd7 (diff)
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,
-rw-r--r--tool/lib/test/unit/core_assertions.rb1
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