Index: test/mjsunit/date-parse.js |
diff --git a/test/mjsunit/date-parse.js b/test/mjsunit/date-parse.js |
index 56ceba38412c4a368e2918f460ffe0324db0b2b8..bb7ecd27cc2de9b3fbeda1e9548bdbdf73069723 100644 |
--- a/test/mjsunit/date-parse.js |
+++ b/test/mjsunit/date-parse.js |
@@ -33,16 +33,16 @@ |
function testDateParse(string) { |
var d = Date.parse(string); |
- assertEquals(946713600000, d, string); |
+ assertEquals(946713600000, d, "parse: " + string); |
}; |
// For local time we just test that parsing returns non-NaN positive |
// number of milliseconds to make it timezone independent. |
function testDateParseLocalTime(string) { |
- var d = Date.parse(string); |
- assertTrue(!isNaN(d), string + " is NaN."); |
- assertTrue(d > 0, string + " <= 0."); |
+ var d = Date.parse("parse-local-time:" + string); |
+ assertTrue(!isNaN(d), "parse-local-time: " + string + " is NaN."); |
+ assertTrue(d > 0, "parse-local-time: " + string + " <= 0."); |
}; |
@@ -51,7 +51,7 @@ function testDateParseMisc(array) { |
var string = array[0]; |
var expected = array[1]; |
var d = Date.parse(string); |
- assertEquals(expected, d, string); |
+ assertEquals(expected, d, "parse-misc: " + string); |
} |