Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2950)

Unified Diff: chrome/installer/util/l10n_string_util_unittest.cc

Issue 2794183004: Fix -Wsign-compare in l10n_string_util_unittest.cc (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/l10n_string_util_unittest.cc
diff --git a/chrome/installer/util/l10n_string_util_unittest.cc b/chrome/installer/util/l10n_string_util_unittest.cc
index ffa560303a15bdf5cd1c1046ca7d3c0e6007985a..6b0010d117f53d1564ec9a263ab7ef8b95c050c3 100644
--- a/chrome/installer/util/l10n_string_util_unittest.cc
+++ b/chrome/installer/util/l10n_string_util_unittest.cc
@@ -65,7 +65,7 @@ TEST(GetBaseMessageIdForMode, GoogleStringIds) {
for (int mode_index = 0; mode_index < install_static::NUM_INSTALL_MODES;
++mode_index) {
SCOPED_TRACE(testing::Message() << "install mode index: " << mode_index);
- ASSERT_EQ(1, mode_to_strings.count(mode_index));
+ ASSERT_EQ(1U, mode_to_strings.count(mode_index));
const auto& mode_strings = mode_to_strings[mode_index];
ASSERT_EQ(mode_strings.size(), input_ids.size());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698