Index: test/mjsunit/error-tostring-omit.js |
diff --git a/test/mjsunit/error-tostring-omit.js b/test/mjsunit/error-tostring-omit.js |
index 48e1399d7a1d16df31086a7c75b70c1ec6f2cd34..9ff43fa9b2e521c51ce887f6eac184df84e2efe2 100644 |
--- a/test/mjsunit/error-tostring-omit.js |
+++ b/test/mjsunit/error-tostring-omit.js |
@@ -42,7 +42,7 @@ |
var re = /...<omitted>.../; |
try { |
- Date.prototype.setDate.call(veryLongString); |
+ Number.prototype.toFixed.call(veryLongString); |
} catch (e) { |
assertTrue(e.message.length < 256); |
assertTrue(re.test(e.message)); |