From 1820aeeeb209420e80851d65a42acf188893069b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 29 Oct 2019 13:15:09 +0900 Subject: [PATCH] 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. --- tool/lib/minitest/unit.rb | 2 ++ 1 file changed, 2 insertions(+) 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.