class TestMinitestTest

Public Instance Methods

test_dup() click to toggle source
# File minitest-5.13.0/test/minitest/test_minitest_test.rb, line 805
def test_dup
  setup_marshal Minitest::Test do |tc|
    tc.time = 3.14
  end

  assert_marshal %w[@NAME @assertions @failures @klass @source_location @time] do |new_tc|
    assert_in_epsilon 3.14, new_tc.time
  end
end