aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/ChannelTests
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:11:29 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:14:25 -0700
commita0f83554bbe47d9d99d6e3146a8ec7ba3a129b63 (patch)
treeb42224e36b537a0e742d7a12c74d2330870a6571 /src/objective-c/tests/ChannelTests
parent3bdf794bd031162913f533a2a9535f4066a41abd (diff)
remove channel from pool with pointer rather than config
Diffstat (limited to 'src/objective-c/tests/ChannelTests')
-rw-r--r--src/objective-c/tests/ChannelTests/ChannelPoolTest.m2
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);