Commit ad5e68e8 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

urlmon/tests: Fix a test failure on Vista and higher.

parent 3aec62dc
...@@ -1854,7 +1854,9 @@ static void test_gopher_protocol(void) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment