class Minitest::ProfileReporter

def source_location(result)

def source_location(result)
  filename, line = result.source_location
  return "" unless filename
  pwd = Dir.pwd
  if filename.start_with?(pwd)
    filename = Pathname.new(filename).relative_path_from(pwd)
  end
  "#{filename}:#{line}"
end