Index: test/intl/date-format/parse-MMMdy.js |
diff --git a/test/intl/date-format/parse-MMMdy.js b/test/intl/date-format/parse-MMMdy.js |
index f713b36fb1724dc31f3f6fc458e10d7e60848075..f8291f49a902f794ab146227d4d6c03676feb78b 100644 |
--- a/test/intl/date-format/parse-MMMdy.js |
+++ b/test/intl/date-format/parse-MMMdy.js |
@@ -43,11 +43,17 @@ assertEquals(1974, date.getUTCFullYear()); |
assertEquals(1, date.getUTCMonth()); |
assertEquals(4, date.getUTCDate()); |
-// Missing , in the pattern. |
-assertEquals(undefined, dtf.v8Parse('Feb 4 1974')); |
+// Can deal with a missing ','. |
+date = dtf.v8Parse('Feb 4 1974'); |
+assertEquals(1974, date.getUTCFullYear()); |
+assertEquals(1, date.getUTCMonth()); |
+assertEquals(4, date.getUTCDate()); |
// Extra "th" after 4 in the pattern. |
assertEquals(undefined, dtf.v8Parse('Feb 4th, 1974')); |
-// Wrong pattern. |
-assertEquals(undefined, dtf.v8Parse('2/4/1974')); |
+// TODO(jshin): Make sure if this is what's supposed to be. |
+date = dtf.v8Parse('2/4/1974'); |
+assertEquals(1974, date.getUTCFullYear()); |
+assertEquals(1, date.getUTCMonth()); |
+assertEquals(4, date.getUTCDate()); |