From 3515867381e34a04f2d64086ac283cd9536a8b20 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 15 Jan 2022 09:16:04 +0900 Subject: [PATCH] Removed skip alias in test suite --- tool/lib/test/unit/assertions.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tool/lib/test/unit/assertions.rb b/tool/lib/test/unit/assertions.rb index 3deeb8fcdc..6345a625c1 100644 --- a/tool/lib/test/unit/assertions.rb +++ b/tool/lib/test/unit/assertions.rb @@ -513,11 +513,9 @@ module Test end alias omit pend - # TODO: Removed this and enabled to raise NoMethodError with skip - alias skip pend - # def skip(msg = nil, bt = caller) - # raise NoMethodError, "use omit or pend", caller - # end + def skip(msg = nil, bt = caller) + raise NoMethodError, "use omit or pend", caller + end ## # Was this testcase skipped? Meant for #teardown.