jscript/tests: Fix copy & paste typos.
This commit is contained in:
parent
738120efa2
commit
4d1a28b299
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue