[PATCH] jscript/tests: Fix some function-to-string failure message typos.
Jeff Smith
whydoubt at gmail.com
Thu Apr 16 11:40:38 CDT 2020
Signed-off-by: Jeff Smith <whydoubt at gmail.com>
---
dlls/jscript/tests/api.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/jscript/tests/api.js b/dlls/jscript/tests/api.js
index d4aa7f4383..df6ff785d0 100644
--- a/dlls/jscript/tests/api.js
+++ b/dlls/jscript/tests/api.js
@@ -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",
"isNaN.toString = '" + isNaN.toString() + "'");
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",
- "isNaN.toString = '" + Function.toString() + "'");
+ "Function.toString = '" + Function.toString() + "'");
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",
"''.substr.toString = '" + "".substr.toString() + "'");
--
2.23.0
More information about the wine-devel
mailing list