Index: components/autofill/core/browser/autofill_field_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_field_unittest.cc b/components/autofill/core/browser/autofill_field_unittest.cc |
index 9ef7d7f6744579d6c4cebb3f4cfc33045dfadd1f..6f3b0d40afee46d560cfce19115f76a9e71ec0c9 100644 |
--- a/components/autofill/core/browser/autofill_field_unittest.cc |
+++ b/components/autofill/core/browser/autofill_field_unittest.cc |
@@ -470,6 +470,9 @@ TEST_F(AutofillFieldTest, FillSelectControlWithExpirationMonth) { |
// Values start at 1. |
{{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"}, |
NotNumericMonthsContentsNoPlaceholder()}, |
+ // Values start at 1 but single digits are whitespace padded! |
+ {{" 1", " 2", " 3", " 4", " 5", " 6", " 7", " 8", " 9", "10", "11", "12"}, |
+ NotNumericMonthsContentsNoPlaceholder()}, |
// Values start at 0. |
{{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"}, |
NotNumericMonthsContentsNoPlaceholder()}, |