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

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

Issue 2739743003: [Merge M58] Adopt UI review feedback (Closed)
Patch Set: Created 3 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
« no previous file with comments | « components/autofill/core/browser/credit_card.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 56ba73605edafd3e63dac4b3bccf750f96da4835..993862f6d6dfef412c860a3acec4f91ef57d710b 100644
--- a/components/autofill/core/browser/credit_card_unittest.cc
+++ b/components/autofill/core/browser/credit_card_unittest.cc
@@ -929,12 +929,12 @@ TEST(CreditCardTest, GetLastUsedDateForDisplay) {
base::string16 last_used_year_ago;
} kTestCases[] = {
// only show last used date.
- {"false", "en_US", ASCIIToUTF16("Added: Dec 09"),
- ASCIIToUTF16("Last used: Nov 30"),
+ {"false", "en_US", ASCIIToUTF16("Added Dec 09"),
+ ASCIIToUTF16("Last used Nov 30"),
ASCIIToUTF16("Last used over a year ago")},
// show expiration date and last used date.
- {"true", "en_US", ASCIIToUTF16("Exp: 01/21, added: Dec 09"),
- ASCIIToUTF16("Exp: 04/21, last used: Nov 30"),
+ {"true", "en_US", ASCIIToUTF16("Exp: 01/21, added Dec 09"),
+ ASCIIToUTF16("Exp: 04/21, last used Nov 30"),
ASCIIToUTF16("Exp: 12/21, last used over a year ago")},
};
« no previous file with comments | « components/autofill/core/browser/credit_card.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698