Skip to content

Commit 084dee8

Browse files
committed
linux test and swift format
1 parent 2383b65 commit 084dee8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Tests/AsyncHTTPClientTests/HTTPClientTests+XCTest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ extension HTTPClientTests {
109109
("testNothingIsLoggedAtInfoOrHigher", testNothingIsLoggedAtInfoOrHigher),
110110
("testAllMethodsLog", testAllMethodsLog),
111111
("testClosingIdleConnectionsInPoolLogsInTheBackground", testClosingIdleConnectionsInPoolLogsInTheBackground),
112+
("testUploadStreamingNoLength", testUploadStreamingNoLength),
112113
]
113114
}
114115
}

Tests/AsyncHTTPClientTests/HTTPClientTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ class HTTPClientTests: XCTestCase {
20152015
}
20162016

20172017
var request = try HTTPClient.Request(url: "http://localhost:\(server.serverPort)/")
2018-
request.body = .stream() { writer in
2018+
request.body = .stream { writer in
20192019
writer.write(.byteBuffer(ByteBuffer.of(string: "1234")))
20202020
}
20212021

0 commit comments

Comments
 (0)