def prettify(raised, message=nil)
      # Get message from raised, if not given
      message ||= raised.message

      backtrace = raised.respond_to?(:backtrace) ? raised.backtrace : raised.location

      # Filter and clean backtrace
      backtrace = clean_backtrace(backtrace)

      # Add trace mark to first line.
      backtrace.first.insert(0, TRACE_MARK)

      io.puts Colorize.bold(message.tabto(TAB_SIZE))
      io.puts backtrace.shift.tabto(TAB_SIZE - TRACE_MARK.length)
      io.puts backtrace.join("\n").tabto(TAB_SIZE)
      io.puts
    end
def prettify(raised, message=nil)
      # Get message from raised, if not given
      message ||= raised.message

      backtrace = raised.respond_to?(:backtrace) ? raised.backtrace : raised.location

      # Filter and clean backtrace
      backtrace = clean_backtrace(backtrace)

      # Add trace mark to first line.
      backtrace.first.insert(0, TRACE_MARK)

      io.puts Colorize.bold(message.tabto(TAB_SIZE))
      io.puts backtrace.shift.tabto(TAB_SIZE - TRACE_MARK.length)
      io.puts backtrace.join("\n").tabto(TAB_SIZE)
      io.puts
    end
Cleanups and prints test payload

 Example:
         fail is not 1
       @ test/test_runners.rb:46:in `test_autorun_with_trace'
         bin/turn:4:in `<main>'