class Minitest::Reporters::DefaultReporter

def message_for(test)

def message_for(test)
  e = test.failure
  if test.skipped?
    if @detailed_skip
      "Skipped:\n#{test.class}##{test.name} [#{location(e)}]:\n#{e.message}"
    end
  elsif test.error?
    "Error:\n#{test.class}##{test.name}:\n#{e.message}"
  else
    "Failure:\n#{test.class}##{test.name} [#{test.failure.location}]\n#{e.class}: #{e.message}"
  end
end