class Minitest::Assertion
def error # :nodoc:
def error # :nodoc: self end
def location
def location last_before_assertion = "" self.backtrace.reverse_each do |s| break if s =~ /in .(assert|refute|flunk|pass|fail|raise|must|wont)/ last_before_assertion = s end last_before_assertion.sub(/:in .*$/, "") end
def result_code # :nodoc:
def result_code # :nodoc: result_label[0, 1] end
def result_label # :nodoc:
def result_label # :nodoc: "Failure" end