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