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

Unified Diff: chrome/installer/setup/setup_util_unittest.cc

Issue 1239493005: Remove some legacy versions of StartsWith and EndsWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 5 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
Index: chrome/installer/setup/setup_util_unittest.cc
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc
index 10b093632613aface668e87a7a68e3118b8ce8a5..209fdad233dd9544aed7f86a0f09ba0d946f88e0 100644
--- a/chrome/installer/setup/setup_util_unittest.cc
+++ b/chrome/installer/setup/setup_util_unittest.cc
@@ -607,5 +607,6 @@ TEST(SetupUtilTest, GetRegistrationDataCommandKey) {
UpdatingAppRegistrationData reg_data(app_guid);
base::string16 key =
installer::GetRegistrationDataCommandKey(reg_data, L"test_name");
- EXPECT_TRUE(base::EndsWith(key, app_guid + L"\\Commands\\test_name", true));
+ EXPECT_TRUE(base::EndsWith(key, app_guid + L"\\Commands\\test_name",
+ base::CompareCase::SENSITIVE));
}

Powered by Google App Engine
This is Rietveld 408576698