Index: test/mjsunit/date.js |
diff --git a/test/mjsunit/date.js b/test/mjsunit/date.js |
index 5aaa3bb94e2dc76fea950223fb6f118ebd86eeb4..a1b7871d60bf06531dcf91438f1c766ff8df81c2 100644 |
--- a/test/mjsunit/date.js |
+++ b/test/mjsunit/date.js |
@@ -150,7 +150,7 @@ assertTrue(isNaN(l.getUTCMilliseconds())); |
// date without the timezone information. |
function testToLocaleTimeString() { |
var d = new Date(); |
- var s = d.toLocaleTimeString(); |
+ var s = d.toLocaleTimeString("en-GB"); |
assertEquals(8, s.length); |
} |
@@ -340,4 +340,4 @@ date.getYear(); |
%OptimizeFunctionOnNextCall(Date.prototype.getYear); |
assertThrows(function() { Date.prototype.getYear.call(""); }, TypeError); |
opt_status = %GetOptimizationStatus(Date.prototype.getYear); |
-assertTrue(%GetOptimizationStatus(Date.prototype.getTime) != 1); |
+assertTrue(%GetOptimizationStatus(Date.prototype.getTime) != 1); |