test/exceptions_test.rb in ruby-prof-0.8.2 vs test/exceptions_test.rb in ruby-prof-0.9.0
- old
+ new
@@ -3,13 +3,13 @@
require 'ruby-prof'
class ExceptionsTest < Test::Unit::TestCase
def test_profile
result = begin
- RubyProf.profile do
+ RubyProf.profile do
raise(RuntimeError, 'Test error')
end
rescue => e
- end
+ end
assert_not_nil(result)
end
end