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");
|
ok(asmname != NULL, "Expected non-NULL asmname\n");
|
||||||
|
|
||||||
/* pEnum is NULL */
|
/* pEnum is NULL */
|
||||||
|
if (0)
|
||||||
|
{
|
||||||
|
/* Crashes on .NET 1.x */
|
||||||
hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL);
|
hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL);
|
||||||
ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
|
ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
|
||||||
|
}
|
||||||
|
|
||||||
/* pName is NULL */
|
/* pName is NULL */
|
||||||
asmenum = NULL;
|
asmenum = NULL;
|
||||||
|
|
Loading…
Reference in New Issue