class Minitest::UnexpectedError
def initialize error # :nodoc:
def initialize error # :nodoc: super "Unexpected exception" if SystemStackError === error then bt = error.backtrace new_bt = compress bt error = error.exception "#{bt.size} -> #{new_bt.size}" error.set_backtrace new_bt end self.error = error end