diff --git a/Spec/Tests/RealtimeClientConnectionTests.swift b/Spec/Tests/RealtimeClientConnectionTests.swift index f1736b829..d565106e0 100644 --- a/Spec/Tests/RealtimeClientConnectionTests.swift +++ b/Spec/Tests/RealtimeClientConnectionTests.swift @@ -3696,7 +3696,7 @@ class RealtimeClientConnectionTests: XCTestCase { XCTAssertEqual(data.stateChanges.map { $0.current }, [.connecting, .disconnected, .connecting]) XCTAssertEqual(data.urlConnections.count, 2) - XCTAssertTrue(data.urlConnections.allSatisfy { url in NSRegularExpression.match(url.absoluteString, pattern: "//realtime.ably.io") + XCTAssertTrue(data.urlConnections.allSatisfy { url in NSRegularExpression.match(url.absoluteString, pattern: "//realtime.ably.io") }) afterEach__Connection__Host_Fallback() }