# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 2122 def inspect if default_inspect? inspected = "#{@exception.class.inspect}(<#{@exception.message}>)" unless (@exception.backtrace || []).empty? inspected += "\n" @exception.backtrace.each do |trace| inspected << "#{trace}\n" end end inspected else @exception.inspect end end