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

This commit is contained in:
Paul Vriens 2009-03-19 11:16:28 +01:00 committed by Alexandre Julliard
parent 3aec62dcf6
commit ad5e68e8a1
1 changed files with 3 additions and 1 deletions

View File

@ -1854,7 +1854,9 @@ static void test_gopher_protocol(void)
trace("Testing gopher protocol...\n");
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))
return;