mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed skip alias in test suite
This commit is contained in:
parent
ac1bb6b510
commit
3515867381
Notes:
git
2022-01-17 10:39:44 +09:00
1 changed files with 3 additions and 5 deletions
|
|
@ -513,11 +513,9 @@ module Test
|
|||
end
|
||||
alias omit pend
|
||||
|
||||
# TODO: Removed this and enabled to raise NoMethodError with skip
|
||||
alias skip pend
|
||||
# def skip(msg = nil, bt = caller)
|
||||
# raise NoMethodError, "use omit or pend", caller
|
||||
# end
|
||||
def skip(msg = nil, bt = caller)
|
||||
raise NoMethodError, "use omit or pend", caller
|
||||
end
|
||||
|
||||
##
|
||||
# Was this testcase skipped? Meant for #teardown.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue