Skip to content

Commit fec1b80

Browse files
committed
Fix formatting
1 parent d47e756 commit fec1b80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/AsyncHTTPClientTests/HTTPClientTests.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -4316,7 +4316,7 @@ final class HTTPClientTests: XCTestCaseHTTPClientTestsBaseClass {
43164316
// be easy to miss.
43174317
var config = HTTPClient.Configuration(
43184318
http1_1ConnectionDebugInitializer: { channel in
4319-
return connectionDebugInitializerUtil.initialize(channel: channel)
4319+
connectionDebugInitializerUtil.initialize(channel: channel)
43204320
}
43214321
)
43224322
config.httpVersion = .http1Only
@@ -4394,10 +4394,10 @@ final class HTTPClientTests: XCTestCaseHTTPClientTestsBaseClass {
43944394
// properties. This is necessary as these parameters are defaulted and can be easy to miss.
43954395
var config = HTTPClient.Configuration(
43964396
http2ConnectionDebugInitializer: { channel in
4397-
return connectionDebugInitializerUtil.initialize(channel: channel)
4397+
connectionDebugInitializerUtil.initialize(channel: channel)
43984398
},
43994399
http2StreamChannelDebugInitializer: { channel in
4400-
return streamChannelDebugInitializerUtil.initialize(channel: channel)
4400+
streamChannelDebugInitializerUtil.initialize(channel: channel)
44014401
}
44024402
)
44034403
config.tlsConfiguration = .clientDefault
@@ -4471,7 +4471,7 @@ final class CountingDebugInitializerUtil: Sendable {
44714471
self._executionCount.withLockedValue { $0 += 1 }
44724472

44734473
let someScheduledTask = channel.eventLoop.scheduleTask(in: Self.duration) {
4474-
return channel.eventLoop.makeSucceededVoidFuture()
4474+
channel.eventLoop.makeSucceededVoidFuture()
44754475
}
44764476

44774477
return someScheduledTask.futureResult.flatMap { $0 }

0 commit comments

Comments
 (0)