summaryrefslogtreecommitdiff
path: root/tool/lib/test/unit/assertions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lib/test/unit/assertions.rb')
-rw-r--r--tool/lib/test/unit/assertions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/lib/test/unit/assertions.rb b/tool/lib/test/unit/assertions.rb
index bdb25d0d85..335247458a 100644
--- a/tool/lib/test/unit/assertions.rb
+++ b/tool/lib/test/unit/assertions.rb
@@ -117,7 +117,7 @@ module Test
self._assertions += 1
unless test then
msg = msg.call if Proc === msg
- raise Test::Assertion, msg
+ raise Test::Unit::AssertionFailedError, msg
end
true
end
@@ -578,7 +578,7 @@ module Test
def skip msg = nil, bt = caller
msg ||= "Skipped, no message given"
@skip = true
- raise Test::Skip, msg, bt
+ raise Test::Unit::PendedError, msg, bt
end
alias omit skip