Add Test::Unit::TestCase#method_name
For the compatibility with test-unit gem.
This commit is contained in:
parent
fc1a7a46dc
commit
1fa4d15ca7
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user