Commit fd8e83ea authored by Jeff Smith's avatar Jeff Smith Committed by Alexandre Julliard

jscript/tests: Fix some function-to-string failure message typos.

parent 08894ffb
...@@ -2303,11 +2303,11 @@ ok(Math.floor(Math.SQRT1_2*100) === 70, "modified Math.SQRT1_2 = " + Math.SQRT1_ ...@@ -2303,11 +2303,11 @@ ok(Math.floor(Math.SQRT1_2*100) === 70, "modified Math.SQRT1_2 = " + Math.SQRT1_
ok(isNaN.toString() === "\nfunction isNaN() {\n [native code]\n}\n", ok(isNaN.toString() === "\nfunction isNaN() {\n [native code]\n}\n",
"isNaN.toString = '" + isNaN.toString() + "'"); "isNaN.toString = '" + isNaN.toString() + "'");
ok(Array.toString() === "\nfunction Array() {\n [native code]\n}\n", ok(Array.toString() === "\nfunction Array() {\n [native code]\n}\n",
"isNaN.toString = '" + Array.toString() + "'"); "Array.toString = '" + Array.toString() + "'");
ok(Function.toString() === "\nfunction Function() {\n [native code]\n}\n", ok(Function.toString() === "\nfunction Function() {\n [native code]\n}\n",
"isNaN.toString = '" + Function.toString() + "'"); "Function.toString = '" + Function.toString() + "'");
ok(Function.prototype.toString() === "\nfunction prototype() {\n [native code]\n}\n", ok(Function.prototype.toString() === "\nfunction prototype() {\n [native code]\n}\n",
"isNaN.toString = '" + Function.prototype.toString() + "'"); "Function.prototype.toString = '" + Function.prototype.toString() + "'");
ok("".substr.toString() === "\nfunction substr() {\n [native code]\n}\n", ok("".substr.toString() === "\nfunction substr() {\n [native code]\n}\n",
"''.substr.toString = '" + "".substr.toString() + "'"); "''.substr.toString = '" + "".substr.toString() + "'");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment