# File lib/turn/reporters/outline_reporter.rb, line 63 def fail(assertion) message = assertion.message.to_s backtrace = filter_backtrace(assertion.backtrace) io.puts(" #{FAIL}") io.puts Colorize.bold(message).tabto(8) unless backtrace.empty? label = "Assertion at " tabsize = 8 backtrace1 = label + backtrace.shift io.puts(backtrace1.tabto(tabsize)) if @trace io.puts backtrace.map{|l| l.tabto(label.length + tabsize) }.join("\n") end end show_captured_output end