diff options
author | 2016-06-24 16:02:56 -0700 | |
---|---|---|
committer | 2016-06-24 16:02:56 -0700 | |
commit | 00ca8eaa1e9d3ad4b90cb6d10de04555b787f41b (patch) | |
tree | c3ebf43a6a36b7e3030088bc0fd76e4425168c9e /src/objective-c | |
parent | 8a556b7fe34355faf6573d8958cdb0730dd41956 (diff) |
Ignore deprecation warning in the test of deprecated feature
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/tests/InteropTests.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objective-c/tests/InteropTests.m b/src/objective-c/tests/InteropTests.m index d0f14d0fe2..0ab16cc11b 100644 --- a/src/objective-c/tests/InteropTests.m +++ b/src/objective-c/tests/InteropTests.m @@ -347,7 +347,10 @@ static cronet_engine *cronetEngine = NULL; [_service emptyCallWithRequest:request handler:^(RMTEmpty *response, NSError *error) { XCTAssertNil(error, @"First RPC finished with unexpected error: %@", error); +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" [GRPCCall closeOpenConnections]; +#pragma clang diagnostic pop [_service emptyCallWithRequest:request handler:^(RMTEmpty *response, NSError *error) { XCTAssertNil(error, @"Second RPC finished with unexpected error: %@", error); |