Index: components/crash/content/app/crash_keys_win_unittest.cc |
diff --git a/components/crash/content/app/crash_keys_win_unittest.cc b/components/crash/content/app/crash_keys_win_unittest.cc |
index f1a645e32058b06f55cb8be1b7e3e3c3edf31a62..197066ff7b651eedc8ceda5d3a8ba49c65fc6311 100644 |
--- a/components/crash/content/app/crash_keys_win_unittest.cc |
+++ b/components/crash/content/app/crash_keys_win_unittest.cc |
@@ -129,15 +129,15 @@ TEST_F(CrashKeysWinTest, OfficialLikeKeys) { |
// We expect 7 fixed keys and a "freeboard" of 256 keys for dynamic entries. |
EXPECT_EQ(256U + 7U, info->count); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"ver", L"1.2.3.4")); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"prod", L"SomeProdName")); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"plat", L"Win32")); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"ptype", L"made_up_type")); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"ver", L"1.2.3.4")); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"prod", L"SomeProdName")); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"plat", L"Win32")); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"ptype", L"made_up_type")); |
std::wstring pid_str(base::StringPrintf(L"%d", ::GetCurrentProcessId())); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"pid", pid_str.c_str())); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"channel", L"-devm")); |
- EXPECT_EQ(1, CountKeyValueOccurences(info, L"profile-type", L"temporary")); |
- EXPECT_EQ(256, CountKeyValueOccurences(info, L"unspecified-crash-key", L"")); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"pid", pid_str.c_str())); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"channel", L"-devm")); |
+ EXPECT_EQ(1u, CountKeyValueOccurences(info, L"profile-type", L"temporary")); |
+ EXPECT_EQ(256u, CountKeyValueOccurences(info, L"unspecified-crash-key", L"")); |
} |
} // namespace breakpad |