diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-16 17:22:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-16 17:44:51 +0900 |
commit | 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7 (patch) | |
tree | a40f454a4d37649cd63b93166665d618a13f4eb7 /tool | |
parent | 5437d7c879585fbdb0c294298eb76cc563e01c69 (diff) |
alias assert_raise_message for compatibility with test-unit
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index 1c4a254dd0..deb9908423 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -275,6 +275,7 @@ eom end ex end + alias assert_raise_message assert_raise_with_message def assert_warning(pat, msg = nil) result = nil |