Commit d6c4ab8b authored by Elly Fong-Jones's avatar Elly Fong-Jones Committed by Commit Bot

ios: ignore deprecated GTM function

This function is deprecated as of GTM 85341176, which we are about to roll past.

Bug: 386671
Change-Id: I134cca2c9c2252ceaa63facb289ac907a1774696
Reviewed-on: https://chromium-review.googlesource.com/c/1478498
Auto-Submit: Elly Fong-Jones <ellyjones@chromium.org>
Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633738}
parent a8d116f0
......@@ -15,9 +15,14 @@
using GoogleToolboxForMacTest = PlatformTest;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
// [NSDictionary gtm_dictionaryWithHttpArgumentsString] is used downstream.
// This test ensures that we keep compiling the file.
TEST_F(GoogleToolboxForMacTest, dictionaryWithHttpArgumentsString) {
NSDictionary* dict = [NSDictionary gtm_dictionaryWithHttpArgumentsString:@""];
EXPECT_EQ(0u, [dict count]);
}
#pragma clang diagnostic pop
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment