aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit/assertions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/assertions.rb')
-rw-r--r--lib/test/unit/assertions.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb
index db0679cafb..4752943aeb 100644
--- a/lib/test/unit/assertions.rb
+++ b/lib/test/unit/assertions.rb
@@ -24,6 +24,11 @@ module Test
super
end
+ def skip(msg = nil, bt = caller)
+ raise ArgumentError, "no reason to skip" unless msg
+ super
+ end
+
def assert_block(*msgs)
assert yield, *msgs
end