class Sus::Assertions::Assert

def each_failure(&block)

def each_failure(&block)
	yield self
end

def initialize(identity, backtrace, assertions)

def initialize(identity, backtrace, assertions)
	@identity = identity
	@backtrace = backtrace
	@assertions = assertions
end

def message

def message
	{
		# It's possible that several Assert instances might share the same output text. This is because the output is buffered for each test and each top-level test expectation.
		text: @assertions.output.string,
		location: @identity&.to_location
	}
end