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

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

Issue 1080883002: Remove some more bad ASCII-centric autofill code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 5 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_profile_unittest.cc
diff --git a/components/autofill/core/browser/autofill_profile_unittest.cc b/components/autofill/core/browser/autofill_profile_unittest.cc
index cb5b647f8947dd121005b4ab90d2158b46ce0c16..9aac14299af0f8a380ec0af99319e1afac1b827e 100644
--- a/components/autofill/core/browser/autofill_profile_unittest.cc
+++ b/components/autofill/core/browser/autofill_profile_unittest.cc
@@ -1301,10 +1301,10 @@ TEST(AutofillProfileTest, OverwriteOrAppendNames) {
test_cases.push_back(TestCase(NameParts("Marion", "Mitchell", "Morrison"),
NameParts("MARION", "MITCHELL", "MORRISON"),
NameParts("Marion", "Mitchell", "Morrison")));
- // Capital A with acute versus lower case a with acute.
- test_cases.push_back(TestCase(NameParts("M\xc3\xa1rion", "M", "Morrison"),
- NameParts("M\xc3\x81rion", "M", "Morrison"),
- NameParts("M\xc3\x81rion", "M", "Morrison")));
+ // Capital A with grave versus lower case a with grave.
+ test_cases.push_back(TestCase(NameParts("Màrion", "M", "Morrison"),
+ NameParts("MÀrion", "M", "Morrison"),
+ NameParts("Màrion", "M", "Morrison")));
// A parse that has a two-word last name should take precedence over a
// parse that assumes the two names are a middle and a last name.
« no previous file with comments | « components/autofill/core/browser/autofill_field_unittest.cc ('k') | components/autofill/core/browser/contact_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698