diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-10-29 13:15:09 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-10-29 13:15:09 +0900 |
commit | 1820aeeeb209420e80851d65a42acf188893069b (patch) | |
tree | 804fde434a0edd2c688d2fcc024cdea13a999ebb /tool | |
parent | ca5812fe4516a10cc687281f9e47e1a08449f1ab (diff) | |
download | ruby-1820aeeeb209420e80851d65a42acf188893069b.tar.gz |
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.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/minitest/unit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/lib/minitest/unit.rb b/tool/lib/minitest/unit.rb index bd244d8e06..90d2da25f8 100644 --- a/tool/lib/minitest/unit.rb +++ b/tool/lib/minitest/unit.rb @@ -718,6 +718,8 @@ module MiniTest raise MiniTest::Skip, msg, bt end + alias omit skip + ## # Was this testcase skipped? Meant for #teardown. |