Add Test::Unit::TestCase#method_name

For the compatibility with test-unit gem.
This commit is contained in:
Nobuyoshi Nakada 2024-02-21 15:45:53 +09:00
parent fc1a7a46dc
commit 1fa4d15ca7
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -137,6 +137,9 @@ module Test
attr_reader :__name__ # :nodoc:
# Method name of this test.
alias method_name __name__
PASSTHROUGH_EXCEPTIONS = [NoMemoryError, SignalException,
Interrupt, SystemExit] # :nodoc: