global

def format_rerun_snippet(result)


This was cribbed from:
Fix #format_rerun_snippet so that it works with recent versions of Minitest.
def format_rerun_snippet(result)
  location, line =
    if result.respond_to?(:source_location)
      result.source_location
    else
      result.method(result.name).source_location
    end
  "#{executable} #{relative_path_for(location)}:#{line}"
end