diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-01-24 15:51:28 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-01-24 15:51:28 +0900 |
commit | c51668d24962602b781a7348451de807f74b05be () | |
tree | 199604be5822902951382264af0fda86e4056a0a /tool/lib/core_assertions.rb | |
parent | ae94fca7887f2dbab9dc6fa6ae90fcaffde3d6b5 (diff) |
Add `Test::Unit::CoreAssertions#assert_raise_kind_of`
Similar to `Test::Unit::assert_raise`, but allows sub classes too.
Notes: Merged: https://.com/ruby/ruby/pull/12625
-rw-r--r-- | tool/lib/core_assertions.rb | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -514,6 +514,43 @@ eom ex end TEST_DIR = File.join(__dir__, "test/unit") #:nodoc: # :call-seq: |