From f8fb51c976313b8053412c80f3f7474cdd89b4b3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 16 Oct 2019 21:00:36 +0900 Subject: [PATCH] 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, --- tool/lib/test/unit/core_assertions.rb | 1 - 1 file changed, 1 deletion(-) 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