| Index: test/mjsunit/date-parse.js
|
| diff --git a/test/mjsunit/date-parse.js b/test/mjsunit/date-parse.js
|
| index 23a69934d4f4d682a508d23b02c2cf23bfb33d03..a1eef663b926a75e8ddece628968d3876381e7da 100644
|
| --- a/test/mjsunit/date-parse.js
|
| +++ b/test/mjsunit/date-parse.js
|
| @@ -285,9 +285,9 @@ for (var i = 0; i < 24 * 365 * 100; i += 150) {
|
|
|
| // Negative tests.
|
| var testCasesNegative = [
|
| - 'May 25 2008 1:30 (PM)) UTC',
|
| - 'May 25 2008 1:30( )AM (PM)',
|
| - 'May 25 2008 AAA (GMT)'];
|
| + 'May 25 2008 1:30 (PM)) UTC', // Bad unmatched ')' after number.
|
| + 'May 25 2008 1:30( )AM (PM)', //
|
| + 'May 25 2008 AAA (GMT)']; // Unknown word after number.
|
|
|
| testCasesNegative.forEach(function (s) {
|
| assertTrue(isNaN(Date.parse(s)), s + " is not NaN.");
|
|
|