diff options
author | ntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-18 23:00:29 +0000 |
---|---|---|
committer | ntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-18 23:00:29 +0000 |
commit | 54ebae1ba1122300a6695bebf64b8609843918e9 (patch) | |
tree | cd5d461daf2a29c124aa9dae0735ed792a0e4961 /lib/test/unit/assertionfailederror.rb | |
parent | fbcac5f129bed8a9df4174f554ee018695e8c040 (diff) | |
download | ruby-54ebae1ba1122300a6695bebf64b8609843918e9.tar.gz |
* lib/test/unit.rb: do not run tests if $! is set.
* lib/test/unit/assertionfailederror.rb: extend StandardError instead
Exception (irb catches the former but not the latter).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit/assertionfailederror.rb')
-rw-r--r-- | lib/test/unit/assertionfailederror.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/assertionfailederror.rb b/lib/test/unit/assertionfailederror.rb index 9b9e53f16c..0854203675 100644 --- a/lib/test/unit/assertionfailederror.rb +++ b/lib/test/unit/assertionfailederror.rb @@ -8,7 +8,7 @@ module Test module Unit # Thrown by Test::Unit::Assertions when an assertion fails. - class AssertionFailedError < Exception + class AssertionFailedError < StandardError end end end |