Skip to content

Commit c57bdcb

Browse files
authored
Fix deprecation warnings (#1430)
1 parent 833f7f4 commit c57bdcb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/GRPCTests/StreamResponseHandlerRetainCycleTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class StreamResponseHandlerRetainCycleTests: GRPCTestCase {
2626
var server: Server!
2727
var client: ClientConnection!
2828

29-
var echo: Echo_EchoClient!
29+
var echo: Echo_EchoNIOClient!
3030

3131
override func setUp() {
3232
super.setUp()
@@ -42,7 +42,7 @@ final class StreamResponseHandlerRetainCycleTests: GRPCTestCase {
4242
.withBackgroundActivityLogger(self.clientLogger)
4343
.connect(host: "localhost", port: self.server.channel.localAddress!.port!)
4444

45-
self.echo = Echo_EchoClient(
45+
self.echo = Echo_EchoNIOClient(
4646
channel: self.client,
4747
defaultCallOptions: CallOptions(logger: self.clientLogger)
4848
)

Tests/GRPCTests/WithConnectedSocketTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class WithConnectedSockettests: GRPCTestCase {
6262
XCTAssertNoThrow(try connection.close().wait())
6363
}
6464

65-
let client = Echo_EchoClient(channel: connection)
65+
let client = Echo_EchoNIOClient(channel: connection)
6666
let resp = try client.get(Echo_EchoRequest(text: "Hello")).response.wait()
6767
XCTAssertEqual(resp.text, "Swift echo get: Hello")
6868
}

0 commit comments

Comments
 (0)