aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/ChannelTests
diff options
context:
space:
mode:
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);