test/test_report.rb in stackprof-0.2.25 vs test/test_report.rb in stackprof-0.2.26

- old
+ new

@@ -1,10 +1,10 @@ $:.unshift File.expand_path('../../lib', __FILE__) require 'stackprof' require 'minitest/autorun' -class ReportDumpTest < MiniTest::Test +class ReportDumpTest < Minitest::Test require 'stringio' def test_dump_to_stdout data = {} report = StackProf::Report.new(data) @@ -31,10 +31,10 @@ def assert_dump(expected, marshal_data) assert_equal expected, Marshal.load(marshal_data) end end -class ReportReadTest < MiniTest::Test +class ReportReadTest < Minitest::Test require 'pathname' def test_from_file_read_json file = fixture("profile.json") report = StackProf::Report.from_file(file)