Skip to content

Commit 6f94030

Browse files
committed
Run SwiftFormat
1 parent ae7826e commit 6f94030

File tree

5 files changed

+616
-618
lines changed

5 files changed

+616
-618
lines changed

Tests/AsyncHTTPClientTests/AsyncAwaitEndToEndTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ final class AsyncAwaitEndToEndTests: XCTestCase {
499499

500500
let config = HTTPClient.Configuration()
501501
.enableFastFailureModeForTesting()
502-
502+
503503
let localClient = HTTPClient(eventLoopGroupProvider: .createNew, configuration: config)
504504
defer { XCTAssertNoThrow(try localClient.syncShutdown()) }
505505
let request = HTTPClientRequest(url: "https://localhost:\(port)")

Tests/AsyncHTTPClientTests/HTTPClient+SOCKSTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class HTTPClientSOCKSTests: XCTestCase {
7777
let socksBin = try MockSOCKSServer(expectedURL: "/socks/test", expectedResponse: "it works!")
7878
let localClient = HTTPClient(eventLoopGroupProvider: .shared(self.clientGroup),
7979
configuration: .init(
80-
proxy: .socksServer(host: "localhost", port: socksBin.port)
80+
proxy: .socksServer(host: "localhost", port: socksBin.port)
8181
).enableFastFailureModeForTesting())
8282

8383
defer {

Tests/AsyncHTTPClientTests/HTTPClientInternalTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ class HTTPClientInternalTests: XCTestCase {
591591
}
592592
}
593593

594-
595594
extension HTTPClient.Configuration {
596595
func enableFastFailureModeForTesting() -> Self {
597596
var copy = self

Tests/AsyncHTTPClientTests/HTTPClientTests+XCTest.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ extension HTTPClientTests {
7777
("testWorksWhenServerClosesConnectionAfterReceivingRequest", testWorksWhenServerClosesConnectionAfterReceivingRequest),
7878
("testSubsequentRequestsWorkWithServerSendingConnectionClose", testSubsequentRequestsWorkWithServerSendingConnectionClose),
7979
("testSubsequentRequestsWorkWithServerAlternatingBetweenKeepAliveAndClose", testSubsequentRequestsWorkWithServerAlternatingBetweenKeepAliveAndClose),
80-
80+
8181
("testStressGetHttpsSSLError", testStressGetHttpsSSLError),
8282
("testSelfSignedCertificateIsRejectedWithCorrectError", testSelfSignedCertificateIsRejectedWithCorrectError),
8383
("testSelfSignedCertificateIsRejectedWithCorrectErrorIfRequestDeadlineIsExceeded", testSelfSignedCertificateIsRejectedWithCorrectErrorIfRequestDeadlineIsExceeded),
8484
("testFailingConnectionIsReleased", testFailingConnectionIsReleased),
85-
85+
8686
("testStressGetClose", testStressGetClose),
8787
("testManyConcurrentRequestsWork", testManyConcurrentRequestsWork),
8888
("testRepeatedRequestsWorkWhenServerAlwaysCloses", testRepeatedRequestsWorkWhenServerAlwaysCloses),
@@ -103,7 +103,7 @@ extension HTTPClientTests {
103103
("testUseExistingConnectionOnDifferentEL", testUseExistingConnectionOnDifferentEL),
104104
("testWeRecoverFromServerThatClosesTheConnectionOnUs", testWeRecoverFromServerThatClosesTheConnectionOnUs),
105105
("testPoolClosesIdleConnections", testPoolClosesIdleConnections),
106-
106+
107107
("testAvoidLeakingTLSHandshakeCompletionPromise", testAvoidLeakingTLSHandshakeCompletionPromise),
108108
("testAsyncShutdown", testAsyncShutdown),
109109
("testAsyncShutdownDefaultQueue", testAsyncShutdownDefaultQueue),
@@ -125,7 +125,7 @@ extension HTTPClientTests {
125125
("testContentLengthTooLongFails", testContentLengthTooLongFails),
126126
("testContentLengthTooShortFails", testContentLengthTooShortFails),
127127
("testBodyUploadAfterEndFails", testBodyUploadAfterEndFails),
128-
128+
129129
("testDoubleError", testDoubleError),
130130
("testSSLHandshakeErrorPropagation", testSSLHandshakeErrorPropagation),
131131
("testSSLHandshakeErrorPropagationDelayedClose", testSSLHandshakeErrorPropagationDelayedClose),
@@ -144,7 +144,7 @@ extension HTTPClientTests {
144144
("testCloseWhileBackpressureIsExertedIsFine", testCloseWhileBackpressureIsExertedIsFine),
145145
("testErrorAfterCloseWhileBackpressureExerted", testErrorAfterCloseWhileBackpressureExerted),
146146
("testRequestSpecificTLS", testRequestSpecificTLS),
147-
147+
148148
("testRequestWithHeaderTransferEncodingIdentityDoesNotFail", testRequestWithHeaderTransferEncodingIdentityDoesNotFail),
149149
("testMassiveDownload", testMassiveDownload),
150150
("testShutdownWithFutures", testShutdownWithFutures),

0 commit comments

Comments
 (0)