lib/assert/result.rb in assert-2.3.0 vs lib/assert/result.rb in assert-2.3.1
- old
+ new
@@ -178,11 +178,11 @@
@callback.call(result) if @callback
end
end
class Backtrace < ::Array
- def initialize(value=nil)
- super(value || ["No backtrace"])
+ def initialize(value = nil)
+ super([*(value || "No backtrace")])
end
def to_s; self.join("\n"); end
def filtered