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

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

Issue 2819183004: [Autofill] Change MasterCard to Mastercard in UI and related tests (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
Index: components/autofill/core/browser/autofill_field_unittest.cc
diff --git a/components/autofill/core/browser/autofill_field_unittest.cc b/components/autofill/core/browser/autofill_field_unittest.cc
index 5731f376ace6dbe29a999cd1e5bc7b8ff3944ffe..433a40ffcc35ea325eddf1add29212db21b01549 100644
--- a/components/autofill/core/browser/autofill_field_unittest.cc
+++ b/components/autofill/core/browser/autofill_field_unittest.cc
@@ -799,7 +799,7 @@ TEST_F(AutofillFieldTest, FillSelectControlWithTwoDigitCreditCardYear) {
}
TEST_F(AutofillFieldTest, FillSelectControlWithCreditCardType) {
- std::vector<const char*> kCreditCardTypes = {"Visa", "Master Card", "AmEx",
+ std::vector<const char*> kCreditCardTypes = {"Visa", "Master card", "AmEx",
"discover"};
AutofillField field;
test::CreateTestSelectField(kCreditCardTypes, &field);
@@ -812,8 +812,8 @@ TEST_F(AutofillFieldTest, FillSelectControlWithCreditCardType) {
// Filling should be able to handle intervening whitespace:
AutofillField::FillFormField(
- field, ASCIIToUTF16("MasterCard"), "en-US", "en-US", &field);
- EXPECT_EQ(ASCIIToUTF16("Master Card"), field.value);
+ field, ASCIIToUTF16("Mastercard"), "en-US", "en-US", &field);
+ EXPECT_EQ(ASCIIToUTF16("Master card"), field.value);
// American Express is sometimes abbreviated as AmEx:
AutofillField::FillFormField(

Powered by Google App Engine
This is Rietveld 408576698