class Minitest::UnexpectedError
def backtrace # :nodoc:
def backtrace # :nodoc: self.error.backtrace end
def initialize error # :nodoc:
def initialize error # :nodoc: super "Unexpected exception" self.error = error end
def message # :nodoc:
def message # :nodoc: bt = Minitest.filter_backtrace(self.backtrace).join "\n " "#{self.error.class}: #{self.error.message}\n #{bt}" end
def result_label # :nodoc:
def result_label # :nodoc: "Error" end