test/exceptions_test.rb in ruby-prof-0.15.2 vs test/exceptions_test.rb in ruby-prof-0.15.3
- old
+ new
@@ -1,16 +1,16 @@
#!/usr/bin/env ruby
# encoding: UTF-8
require File.expand_path('../test_helper', __FILE__)
-class ExceptionsTest < Test::Unit::TestCase
+class ExceptionsTest < TestCase
def test_profile
result = begin
RubyProf.profile do
raise(RuntimeError, 'Test error')
end
rescue
end
- assert_not_nil(result)
+ refute_nil(result)
end
end