diff --git a/Tests/Integration/IntegrationHelper.swift b/Tests/Integration/IntegrationHelper.swift index e2636886..54fb6c48 100644 --- a/Tests/Integration/IntegrationHelper.swift +++ b/Tests/Integration/IntegrationHelper.swift @@ -180,7 +180,7 @@ class EventCollector { func verifyNthValue(at nth: Int, isEqualTo targetValue: T) async { if nth > self.values.count { - XCTFail("Expected \(nth)th value: \(targetValue), but the stream ended before reaching the value") + XCTFail("Expected \(nth)th value: \(targetValue), but only received \(self.values.count) values") } var counter = 0 @@ -188,7 +188,6 @@ class EventCollector { counter += 1 if counter == nth { - print("\(nth)th, value: \(value)") XCTAssertTrue(value == targetValue, "Expected \(nth)th value: \(targetValue), actual value: \(value)") break }