mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
fusion/tests: Don't crash on .NET 1.x.
This commit is contained in:
parent
b76007d847
commit
93c4158283
@ -181,8 +181,12 @@ static void test_CreateAssemblyEnum(void)
|
||||
ok(asmname != NULL, "Expected non-NULL asmname\n");
|
||||
|
||||
/* pEnum is NULL */
|
||||
hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL);
|
||||
ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
|
||||
if (0)
|
||||
{
|
||||
/* Crashes on .NET 1.x */
|
||||
hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL);
|
||||
ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
|
||||
}
|
||||
|
||||
/* pName is NULL */
|
||||
asmenum = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user