Skip to content

Commit dd41068

Browse files
committed
swift-format
1 parent 60c25cb commit dd41068

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Tests/AsyncHTTPClientTests/HTTPConnectionPool+HTTP1StateTests.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,10 @@ class HTTPConnectionPool_HTTP1StateMachineTests: XCTestCase {
15251525

15261526
// 3. connection fails – with make connection callback
15271527

1528-
let action = state.failedToCreateNewConnection(IOError(errnoCode: -1, reason: "Test failure"), connectionID: connectionID)
1528+
let action = state.failedToCreateNewConnection(
1529+
IOError(errnoCode: -1, reason: "Test failure"),
1530+
connectionID: connectionID
1531+
)
15291532
XCTAssertEqual(action.request, .none)
15301533
guard case .scheduleBackoffTimer(connectionID, _, on: let backoffTimerEL) = action.connection else {
15311534
XCTFail("Unexpected connection action: \(action.connection)")

Tests/AsyncHTTPClientTests/HTTPConnectionPool+HTTP2StateMachineTests.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,10 @@ class HTTPConnectionPool_HTTP2StateMachineTests: XCTestCase {
15591559

15601560
// 3. connection fails – with make connection callback
15611561

1562-
let action = state.failedToCreateNewConnection(IOError(errnoCode: -1, reason: "Test failure"), connectionID: connectionID)
1562+
let action = state.failedToCreateNewConnection(
1563+
IOError(errnoCode: -1, reason: "Test failure"),
1564+
connectionID: connectionID
1565+
)
15631566
XCTAssertEqual(action.request, .none)
15641567
guard case .scheduleBackoffTimer(connectionID, _, on: let backoffTimerEL) = action.connection else {
15651568
XCTFail("Unexpected connection action: \(action.connection)")

0 commit comments

Comments
 (0)