jscript: Fixed a test that depends on time zone.

This commit is contained in:
Jacek Caban 2009-10-21 22:44:39 +02:00 committed by Alexandre Julliard
parent 3263ace686
commit 0c8794614d
1 changed files with 1 additions and 1 deletions

View File

@ -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();