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

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

Issue 1001043004: Revamp desktop Autofill settings, round 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest Created 5 years, 9 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/credit_card_unittest.cc
diff --git a/components/autofill/core/browser/credit_card_unittest.cc b/components/autofill/core/browser/credit_card_unittest.cc
index 54273012e714a5d9423b404f3bd7181854e794b3..9ba8551956a6023782df2ad4fb052c4b8952f003 100644
--- a/components/autofill/core/browser/credit_card_unittest.cc
+++ b/components/autofill/core/browser/credit_card_unittest.cc
@@ -121,7 +121,7 @@ TEST(CreditCardTest, PreviewSummaryAndTypeAndLastFourDigitsStrings) {
base::string16 summary4 = credit_card4.Label();
EXPECT_EQ(UTF8ToUTF16(
"MasterCard \xE2\x8B\xAF"
- "5100, Exp: 01/2010"),
+ "5100, 01/2010"),
summary4);
base::string16 obfuscated4 = credit_card4.TypeAndLastFourDigits();
EXPECT_EQ(UTF8ToUTF16(
@@ -138,7 +138,7 @@ TEST(CreditCardTest, PreviewSummaryAndTypeAndLastFourDigitsStrings) {
base::string16 summary5 = credit_card5.Label();
EXPECT_EQ(UTF8ToUTF16(
"Card \xE2\x8B\xAF"
- "5100, Exp: 01/2010"),
+ "5100, 01/2010"),
summary5);
base::string16 obfuscated5 = credit_card5.TypeAndLastFourDigits();
EXPECT_EQ(UTF8ToUTF16(
« no previous file with comments | « components/autofill/core/browser/credit_card.cc ('k') | components/autofill/core/browser/personal_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698