summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/date-parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/date-parse.js')
-rw-r--r--deps/v8/test/mjsunit/date-parse.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/date-parse.js b/deps/v8/test/mjsunit/date-parse.js
index cb4a951c7a..4cd8aa9c3e 100644
--- a/deps/v8/test/mjsunit/date-parse.js
+++ b/deps/v8/test/mjsunit/date-parse.js
@@ -244,14 +244,22 @@ var testCasesES5Misc = [
['2000-01T08:00:00.001Z', 946713600001],
['2000-01T08:00:00.099Z', 946713600099],
['2000-01T08:00:00.999Z', 946713600999],
- ['2000-01T00:00:00.001-08:00', 946713600001]];
+ ['2000-01T00:00:00.001-08:00', 946713600001],
+ ['2000-01-01T24:00Z', 946771200000],
+ ['2000-01-01T24:00:00Z', 946771200000],
+ ['2000-01-01T24:00:00.000Z', 946771200000],
+ ['2000-01-01T24:00:00.000Z', 946771200000]];
var testCasesES5MiscNegative = [
'2000-01-01TZ',
'2000-01-01T60Z',
'2000-01-01T60:60Z',
'2000-01-0108:00Z',
- '2000-01-01T08Z'];
+ '2000-01-01T08Z',
+ '2000-01-01T24:01',
+ '2000-01-01T24:00:01',
+ '2000-01-01T24:00:00.001',
+ '2000-01-01T24:00:00.999Z'];
// Run all the tests.