method

format_rerun_snippet

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: TestUnitReporter
format_rerun_snippet(result) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/test_unit/reporter.rb, line 70
      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
Register or log in to add new notes.