class Turn::ProgressReporter
def paint_line(testrun, width)
def paint_line(testrun, width) line = '' line << "%-#{width}s " % [testrun.name] line << "%10s %10s %10s %10s %10s" % testrun.counts line << " " * 8 if testrun.fail? line << "[#{FAIL}]" elsif testrun.error? line << "[#{FAIL}]" else line << "[#{PASS}]" end line end