test/test_helper.rb in ruby-prof-0.15.2 vs test/test_helper.rb in ruby-prof-0.15.3
- old
+ new
@@ -23,10 +23,17 @@
$LOAD_PATH << lib
$LOAD_PATH << ext
require 'ruby-prof'
-require 'test/unit'
+require 'minitest/autorun'
+
+class TestCase < Minitest::Test
+ def assert_nothing_raised(*)
+ yield
+ end
+end
+
require File.expand_path('../prime', __FILE__)
# Some classes used in measurement tests
module RubyProf
class C1