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:
parent
ca5812fe45
commit
1820aeeeb2
1 changed files with 2 additions and 0 deletions
|
@ -718,6 +718,8 @@ module MiniTest
|
|||
raise MiniTest::Skip, msg, bt
|
||||
end
|
||||
|
||||
alias omit skip
|
||||
|
||||
##
|
||||
# Was this testcase skipped? Meant for #teardown.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue