summaryrefslogtreecommitdiff
path: root/tool/lib/core_assertions.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-01-24 15:51:28 +0900
committerNobuyoshi Nakada <[email protected]>2025-01-24 15:51:28 +0900
commitc51668d24962602b781a7348451de807f74b05be ()
tree199604be5822902951382264af0fda86e4056a0a /tool/lib/core_assertions.rb
parentae94fca7887f2dbab9dc6fa6ae90fcaffde3d6b5 (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.rb37
1 files changed, 37 insertions, 0 deletions
@@ -514,6 +514,43 @@ eom
ex
end
TEST_DIR = File.join(__dir__, "test/unit") #:nodoc:
# :call-seq: