mirror of
https://github.com/apple/swift-nio-transport-services
synced 2026-11-22 04:30:44 +00:00
Fix tests with NIO 1.105.0 (#258)
This commit is contained in:
1 parent
f85ed684f4
commit
1a2abc703a
1 file changed
+1
-1
@@ -215,7 +215,7 @@ final class NIOTSDatagramBootstrapTests: XCTestCase {
|
||||
|
||||
func testBasicChannelCommunication() throws {
|
||||
let serverHandlePromise = group.next().makePromise(of: Channel.self)
|
||||
let server = try buildServerChannel(group: group, onConnect: serverHandlePromise.succeed)
|
||||
let server = try buildServerChannel(group: group, onConnect: { serverHandlePromise.succeed($0) })
|
||||
let client = try buildClientChannel(group: group, port: server.localAddress!.port!)
|
||||
|
||||
var buffer = client.allocator.buffer(capacity: 256)
|
||||
|
||||
Reference in new issue
Block a user