Commit 93c41582 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

fusion/tests: Don't crash on .NET 1.x.

parent b76007d8
...@@ -181,8 +181,12 @@ static void test_CreateAssemblyEnum(void) ...@@ -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 */
hr = pCreateAssemblyEnum(NULL, NULL, asmname, ASM_CACHE_GAC, NULL); if (0)
ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr); {
/* 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 */ /* pName is NULL */
asmenum = NULL; asmenum = NULL;
......
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