1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

tool/lib/minitest/unit.rb: add "omit" as an alias to "skip"

According to rdoc, test-unit provides omit instead of skip.
This is a compatibility layer to make it work with both test-unit and
tool/lib/minitest.
This commit is contained in:
Yusuke Endoh 2019-10-29 13:15:09 +09:00
parent ca5812fe45
commit 1820aeeeb2

View file

@ -718,6 +718,8 @@ module MiniTest
raise MiniTest::Skip, msg, bt
end
alias omit skip
##
# Was this testcase skipped? Meant for #teardown.