Nikolay Sivov : vbscript/tests: Use a defined name for error code.
Alexandre Julliard
julliard at winehq.org
Mon Nov 4 13:59:18 CST 2013
Module: wine
Branch: master
Commit: d234bcdb25d74926438ab65fa1fd4caf2b1f405f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d234bcdb25d74926438ab65fa1fd4caf2b1f405f
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat Nov 2 12:00:23 2013 +0400
vbscript/tests: Use a defined name for error code.
---
dlls/vbscript/tests/createobj.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/vbscript/tests/createobj.c b/dlls/vbscript/tests/createobj.c
index fd59827..3fffb5f 100644
--- a/dlls/vbscript/tests/createobj.c
+++ b/dlls/vbscript/tests/createobj.c
@@ -1000,7 +1000,7 @@ static void test_GetObject(void)
SET_EXPECT(SetSite);
SET_EXPECT(reportSuccess);
hres = parse_script_ae(parser, "Call GetObject(\"clsid:" TESTOBJINST_CLSID "\").reportSuccess()");
- if(hres == 0x8007007e) { /* Workaround for broken win2k */
+ if(hres == HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND)) { /* Workaround for broken win2k */
win_skip("got unexpected error %08x\n", hres);
CLEAR_CALLED(QI_IObjectWithSite);
CLEAR_CALLED(SetSite);
@@ -1008,6 +1008,7 @@ static void test_GetObject(void)
IActiveScriptParse_Release(parser);
return;
}
+ ok(hres == S_OK, "hres = %08x\n", hres);
CHECK_CALLED(QI_IObjectWithSite);
CHECK_CALLED(SetSite);
CHECK_CALLED(reportSuccess);
More information about the wine-cvs
mailing list