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

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

Issue 381613005: [Autofill] Autofill fails to fill credit card number when split across fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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 28823fb1e313326a5130aca5a23fcbbe1e33c2ef..e5db9f486c6d844bdfe5a9074ab18909f03c2056 100644
--- a/components/autofill/core/browser/credit_card_unittest.cc
+++ b/components/autofill/core/browser/credit_card_unittest.cc
@@ -309,7 +309,7 @@ TEST(CreditCardTest, SetRawInfoCreditCardNumber) {
test::SetCreditCardInfo(&card, "Bob Dylan",
"4321-5432-6543-xxxx", "07", "2013");
- EXPECT_EQ(ASCIIToUTF16("4321-5432-6543-xxxx"),
+ EXPECT_EQ(ASCIIToUTF16("432154326543xxxx"),
kbalazs 2014/07/25 00:30:08 Shouldn't we add a new test case instead of changi
Ilya Sherman 2014/07/25 03:37:49 +1. Your changes should not regress this test.
Pritam Nikam 2014/07/26 11:29:50 Done.
Pritam Nikam 2014/07/26 11:29:50 Done.
card.GetRawInfo(CREDIT_CARD_NUMBER));
}

Powered by Google App Engine
This is Rietveld 408576698