1
0
Fork 0
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:
Hiroshi SHIBATA 2022-01-15 09:16:04 +09:00
parent ac1bb6b510
commit 3515867381
Notes: git 2022-01-17 10:39:44 +09:00

View file

@ -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.