lib/mocha/test_case_adapter.rb | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/lib/mocha/test_case_adapter.rb b/lib/mocha/test_case_adapter.rb index 5b33c4a..ea10e60 100644 --- a/lib/mocha/test_case_adapter.rb +++ b/lib/mocha/test_case_adapter.rb @@ -73,7 +73,6 @@ module Mocha rescue Test::Unit::AssertionFailedError => e add_failure(e.message, e.backtrace) rescue Exception - raise if Test::Unit::TestCase::PASSTHROUGH_EXCEPTIONS.include? $!.class add_error($!) ensure begin @@ -81,7 +80,6 @@ module Mocha rescue Test::Unit::AssertionFailedError => e add_failure(e.message, e.backtrace) rescue Exception - raise if Test::Unit::TestCase::PASSTHROUGH_EXCEPTIONS.include? $!.class add_error($!) end end @@ -100,4 +98,4 @@ module Mocha end -end \ No newline at end of file +end