if there is an exception just let it get thrown so we get a useful stack trace

This commit is contained in:
Mike Dirolf 2009-02-24 15:28:02 -05:00
parent acfd505061
commit ff0a781d7f
1 changed files with 0 additions and 2 deletions

View File

@ -425,8 +425,6 @@ class DBAPITest < Test::Unit::TestCase
@@coll.hint = nil @@coll.hint = nil
assert_nil @@coll.hint assert_nil @@coll.hint
assert_equal 1, @@coll.find('a' => 1).to_a.size assert_equal 1, @@coll.find('a' => 1).to_a.size
rescue => ex
fail ex.to_s
ensure ensure
@@coll.drop_index('test_a_index') @@coll.drop_index('test_a_index')
end end