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

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

Issue 355823007: Adjust autofill phone number format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use "git cl format". Created 6 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: components/autofill/core/browser/phone_number_i18n_unittest.cc
diff --git a/components/autofill/core/browser/phone_number_i18n_unittest.cc b/components/autofill/core/browser/phone_number_i18n_unittest.cc
index 37592d3668b9c86cf7cbc6def21416168ff685f8..1a61ad33476add499b92dd49235d735369e2088d 100644
--- a/components/autofill/core/browser/phone_number_i18n_unittest.cc
+++ b/components/autofill/core/browser/phone_number_i18n_unittest.cc
@@ -149,7 +149,7 @@ TEST(PhoneNumberI18NTest, ConstructPhoneNumber) {
ASCIIToUTF16("2345678"),
"US",
&number));
- EXPECT_EQ(number, ASCIIToUTF16("+1 650-234-5678"));
+ EXPECT_EQ(number, ASCIIToUTF16("1 650-234-5678"));
Evan Stade 2014/07/17 00:54:48 these expectations are backwards (expected value g
EXPECT_TRUE(ConstructPhoneNumber(base::string16(),
ASCIIToUTF16("650"),
ASCIIToUTF16("2345678"),
@@ -161,7 +161,7 @@ TEST(PhoneNumberI18NTest, ConstructPhoneNumber) {
ASCIIToUTF16("6502345678"),
"US",
&number));
- EXPECT_EQ(number, ASCIIToUTF16("+1 650-234-5678"));
+ EXPECT_EQ(number, ASCIIToUTF16("1 650-234-5678"));
EXPECT_TRUE(ConstructPhoneNumber(base::string16(),
base::string16(),
ASCIIToUTF16("6502345678"),

Powered by Google App Engine
This is Rietveld 408576698