Jacek Caban : jscript: Fixed a test that depends on time zone.
Alexandre Julliard
julliard at winehq.org
Thu Oct 22 10:39:54 CDT 2009
Module: wine
Branch: master
Commit: 0c8794614de23a691ab37fe1ac6e936f24f658a8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c8794614de23a691ab37fe1ac6e936f24f658a8
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Oct 21 22:44:39 2009 +0200
jscript: Fixed a test that depends on time zone.
---
dlls/jscript/tests/api.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/tests/api.js b/dlls/jscript/tests/api.js
index cc13f03..da32da4 100644
--- a/dlls/jscript/tests/api.js
+++ b/dlls/jscript/tests/api.js
@@ -1595,7 +1595,7 @@ ok(err.toString === Error.prototype.toString, "err.toString !== Error.prototype.
ok(err.message === "", "err.message != ''");
err.message = date;
ok(err.message === date, "err.message != date");
-ok(err.toString() === (invokeVersion < 2 ? "[object Error]" : "EvalError: Fri Aug 17 22:50:50 UTC+0200 85"),
+ok(err.toString().substring(0,21) === (invokeVersion < 2 ? "[object Error]" : "EvalError: Fri Aug 17"),
"err.toString() = " + err.toString());
ok(err.toString !== Object.prototype.toString, "err.toString === Object.prototype.toString");
err = new RangeError();
More information about the wine-cvs
mailing list