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

Unified Diff: components/autofill/core/browser/personal_data_manager_unittest.cc

Issue 936273002: Shorten "American Express" to "Amex" in Chrome UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gclient sync Created 5 years, 10 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 | « components/autofill/core/browser/credit_card.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/personal_data_manager_unittest.cc
diff --git a/components/autofill/core/browser/personal_data_manager_unittest.cc b/components/autofill/core/browser/personal_data_manager_unittest.cc
index 5b435e29679a84c8ebeddf4807626e06a44594a5..1ef66b5c4ce41369a899c0fd835f8c9117264750 100644
--- a/components/autofill/core/browser/personal_data_manager_unittest.cc
+++ b/components/autofill/core/browser/personal_data_manager_unittest.cc
@@ -2750,7 +2750,7 @@ TEST_F(PersonalDataManagerTest, GetCreditCardSuggestions) {
suggestions = personal_data_->GetCreditCardSuggestions(
AutofillType(CREDIT_CARD_NUMBER), base::string16());
ASSERT_EQ(2U, suggestions.size());
- EXPECT_EQ(ASCIIToUTF16("American Express - 8555"), suggestions[0].value);
+ EXPECT_EQ(ASCIIToUTF16("Amex - 8555"), suggestions[0].value);
EXPECT_EQ(ASCIIToUTF16("04/15"), suggestions[0].label);
EXPECT_EQ(ASCIIToUTF16("MasterCard - 2109"), suggestions[1].value);
EXPECT_EQ(base::string16(), suggestions[1].label);
@@ -2801,7 +2801,7 @@ TEST_F(PersonalDataManagerTest, GetCreditCardSuggestions) {
EXPECT_EQ(ASCIIToUTF16("MasterCard - 2109"), suggestions[0].value);
EXPECT_EQ(ASCIIToUTF16("Visa - 9012"), suggestions[1].value);
EXPECT_EQ(ASCIIToUTF16("Visa - 2109"), suggestions[2].value);
- EXPECT_EQ(ASCIIToUTF16("American Express - 8555"), suggestions[3].value);
+ EXPECT_EQ(ASCIIToUTF16("Amex - 8555"), suggestions[3].value);
// Make sure a server card can be a dupe of more than one local card.
CreditCard credit_card3("4141084B-72D7-4B73-90CF-3D6AC154673B",
« no previous file with comments | « components/autofill/core/browser/credit_card.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698