class Minitest::Assertion

def error # :nodoc:

:nodoc:
def error # :nodoc:
  self
end

def location

def location
  bt  = Minitest.filter_backtrace self.backtrace
  idx = bt.rindex { |s| s.match? RE } || -1 # fall back to first item
  bt[idx+1].sub(/:in .*$/, "")
end

def result_code # :nodoc:

:nodoc:
def result_code # :nodoc:
  result_label[0, 1]
end

def result_label # :nodoc:

:nodoc:
def result_label # :nodoc:
  "Failure"
end