urlmon/tests: Fix a test failure on Vista and higher.
This commit is contained in:
parent
3aec62dcf6
commit
ad5e68e8a1
|
@ -1854,7 +1854,9 @@ static void test_gopher_protocol(void)
|
||||||
trace("Testing gopher protocol...\n");
|
trace("Testing gopher protocol...\n");
|
||||||
|
|
||||||
hres = CoGetClassObject(&CLSID_GopherProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk);
|
hres = CoGetClassObject(&CLSID_GopherProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk);
|
||||||
ok(hres == S_OK, "CoGetClassObject failed: %08x\n", hres);
|
ok(hres == S_OK ||
|
||||||
|
hres == REGDB_E_CLASSNOTREG, /* Gopher protocol has been removed as of Vista */
|
||||||
|
"CoGetClassObject failed: %08x\n", hres);
|
||||||
if(FAILED(hres))
|
if(FAILED(hres))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue