From 31dab8f0dbbceb2bb52c524bd119c5e3bc0cd8d8 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 5 Aug 2009 14:19:38 +1000 Subject: [PATCH] shlwapi: Correct AssocCreate tests. --- dlls/shlwapi/tests/assoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shlwapi/tests/assoc.c b/dlls/shlwapi/tests/assoc.c index fd2b868a474..a6f5e2d5e61 100644 --- a/dlls/shlwapi/tests/assoc.c +++ b/dlls/shlwapi/tests/assoc.c @@ -252,11 +252,11 @@ static void test_assoc_create(void) ok(hr == E_INVALIDARG, "Unexpected result : %08x\n", hr); hr = pAssocCreate(CLSID_QueryAssociations, &IID_NULL, (LPVOID*)&pqa); - ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL /* win98 */ + ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL || hr == E_NOINTERFACE , "Unexpected result : %08x\n", hr); hr = pAssocCreate(IID_NULL, &IID_IQueryAssociations, (LPVOID*)&pqa); - ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL /* win98 */ + ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL || hr == E_INVALIDARG , "Unexpected result : %08x\n", hr); hr = pAssocCreate(CLSID_QueryAssociations, &IID_IQueryAssociations, (LPVOID*)&pqa);