mfplat/tests: Remove a duplicated ok() check.
Also fix the text of the first ok() call. Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39e9b841e5
commit
de74a92eab
|
@ -192,12 +192,11 @@ if(0)
|
||||||
count = 0;
|
count = 0;
|
||||||
ret = MFTEnum(MFT_CATEGORY_OTHER, 0, NULL, NULL, NULL, NULL, &count);
|
ret = MFTEnum(MFT_CATEGORY_OTHER, 0, NULL, NULL, NULL, NULL, &count);
|
||||||
ok(ret == E_POINTER, "Failed to enumerate filters: %x\n", ret);
|
ok(ret == E_POINTER, "Failed to enumerate filters: %x\n", ret);
|
||||||
ok(count == 0, "Expected count > 0\n");
|
ok(count == 0, "Expected count == 0\n");
|
||||||
|
|
||||||
clsids = NULL;
|
clsids = NULL;
|
||||||
ret = MFTEnum(MFT_CATEGORY_OTHER, 0, NULL, NULL, NULL, &clsids, NULL);
|
ret = MFTEnum(MFT_CATEGORY_OTHER, 0, NULL, NULL, NULL, &clsids, NULL);
|
||||||
ok(ret == E_POINTER, "Failed to enumerate filters: %x\n", ret);
|
ok(ret == E_POINTER, "Failed to enumerate filters: %x\n", ret);
|
||||||
ok(count == 0, "Expected count > 0\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
count = 0;
|
count = 0;
|
||||||
|
|
Loading…
Reference in New Issue