# File lib/turn/runners/testrunner.rb, line 103 def t_fault(fault) case fault when ::Test::Unit::Error #msg = "" #msg << fault.to_s.split("\n")[2..-1].join("\n") @t_test.error!(fault.exception) @t_reporter.error(fault.exception) when ::Test::Unit::Failure #msg = "" #msg << fault.location[0] << "\n" #msg << fault.message #.gsub("\n","\n") @t_test.fail!(fault) @t_reporter.fail(fault) end end