wscript/tests: Use case insensitive comparition for paths.
Fixes tests on win10. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8997944a56
commit
92f3e2d90d
|
@ -28,8 +28,8 @@ ok(WScript === WSH, "WScript !== WSH");
|
|||
ok(WScript.Name === "Windows Script Host", "WScript.Name = " + WScript.Name);
|
||||
ok(typeof(WScript.Version) === "string", "typeof(WScript.Version) = " + typeof(WScript.Version));
|
||||
ok(typeof(WScript.BuildVersion) === "number", "typeof(WScript.BuldVersion) = " + typeof(WScript.BuldVersion));
|
||||
ok(WScript.FullName === winetest.wscriptFullName, "WScript.FullName = ", WScript.FullName);
|
||||
ok(WScript.Path === winetest.wscriptPath, "WScript.Path = ", WScript.Path);
|
||||
ok(WScript.FullName.toUpperCase() === winetest.wscriptFullName.toUpperCase(), "WScript.FullName = " + WScript.FullName);
|
||||
ok(WScript.Path.toUpperCase() === winetest.wscriptPath.toUpperCase(), "WScript.Path = " + WScript.Path);
|
||||
ok(WScript.ScriptName === winetest.wscriptScriptName, "WScript.ScriptName = " + WScript.ScriptName);
|
||||
ok(WScript.ScriptFullName === winetest.wscriptScriptFullName, "WScript.ScriptFullName = " + WScript.ScriptFullName);
|
||||
ok(typeof(WScript.Arguments) === "object", "typeof(WScript.Arguments) = " + typeof(WScript.Arguments));
|
||||
|
|
Loading…
Reference in New Issue