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
@ -718,6 +718,8 @@ module MiniTest
|
|||||||
raise MiniTest::Skip, msg, bt
|
raise MiniTest::Skip, msg, bt
|
||||||
end
|
end
|
||||||
|
|
||||||
|
alias omit skip
|
||||||
|
|
||||||
##
|
##
|
||||||
# Was this testcase skipped? Meant for #teardown.
|
# Was this testcase skipped? Meant for #teardown.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user