class Rails::TestUnitReporter

def format_rerun_snippet(result)

Experimental RBS support (using type sampling data from the type_fusion project).

def format_rerun_snippet: (Minitest::Result result) -> String

This signature was generated using 1 sample from 1 application.

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