Detlef Riekenberg : jscript/tests: Fix copy & paste typos.

Alexandre Julliard julliard at winehq.org
Mon Jun 27 17:41:22 CDT 2011


Module: wine
Branch: master
Commit: 4d1a28b299f43e0c6ecc8c3f0ba25092bc5defd0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4d1a28b299f43e0c6ecc8c3f0ba25092bc5defd0

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Sun Jun 26 18:28:28 2011 +0200

jscript/tests: Fix copy & paste typos.

---

 dlls/jscript/tests/lang.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/jscript/tests/lang.js b/dlls/jscript/tests/lang.js
index b71d80d..b54eef2 100644
--- a/dlls/jscript/tests/lang.js
+++ b/dlls/jscript/tests/lang.js
@@ -251,7 +251,7 @@ ok((0 === 2 ? 1 : 2) === 2, "conditional expression true is not 2");
 ok(getVT(undefined) === "VT_EMPTY", "getVT(undefined) is not VT_EMPTY");
 ok(getVT(null) === "VT_NULL", "getVT(null) is not VT_NULL");
 ok(getVT(0) === "VT_I4", "getVT(0) is not VT_I4");
-ok(getVT(0.5) === "VT_R8", "getVT(1.5) is not VT_R8");
+ok(getVT(0.5) === "VT_R8", "getVT(0.5) is not VT_R8");
 ok(getVT("test") === "VT_BSTR", "getVT(\"test\") is not VT_BSTR");
 ok(getVT(Math) === "VT_DISPATCH", "getVT(Math) is not VT_DISPATCH");
 ok(getVT(false) === "VT_BOOL", "getVT(false) is not VT_BOOL");
@@ -274,7 +274,7 @@ ok(getVT(tmp) === "VT_I4", "getVT(4-2) !== VT_I4");
 
 tmp = 4.5-2;
 ok(tmp === 2.5, "4.5-2 !== 2.5");
-ok(getVT(tmp) === "VT_R8", "getVT(4-2) !== VT_R8");
+ok(getVT(tmp) === "VT_R8", "getVT(4.5-2) !== VT_R8");
 
 tmp = -2;
 ok(tmp === 0-2, "-2 !== 0-2");




More information about the wine-cvs mailing list