diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-18 12:11:29 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-18 12:14:25 -0700 |
commit | a0f83554bbe47d9d99d6e3146a8ec7ba3a129b63 (patch) | |
tree | b42224e36b537a0e742d7a12c74d2330870a6571 /src/objective-c/tests | |
parent | 3bdf794bd031162913f533a2a9535f4066a41abd (diff) |
remove channel from pool with pointer rather than config
Diffstat (limited to 'src/objective-c/tests')
-rw-r--r-- | src/objective-c/tests/ChannelTests/ChannelPoolTest.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/ChannelTests/ChannelPoolTest.m b/src/objective-c/tests/ChannelTests/ChannelPoolTest.m index b195b747a1..db64ac6339 100644 --- a/src/objective-c/tests/ChannelTests/ChannelPoolTest.m +++ b/src/objective-c/tests/ChannelTests/ChannelPoolTest.m @@ -59,7 +59,7 @@ NSString *kDummyHost = @"dummy.host"; GRPCChannelPool *pool = [[GRPCChannelPool alloc] init]; GRPCChannel *channel1 = [pool channelWithConfiguration:config1]; - [pool removeChannelWithConfiguration:config1]; + [pool removeChannel:channel1]; GRPCChannel *channel2 = [pool channelWithConfiguration:config1]; XCTAssertNotEqual(channel1, channel2); |