[PATCH] mfplat/tests: Remove a duplicated ok() check
Michael Stefaniuc
mstefani at winehq.org
Fri May 3 11:46:35 CDT 2019
Also fix the text of the first ok() call.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/mfplat/tests/mfplat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/mfplat/tests/mfplat.c b/dlls/mfplat/tests/mfplat.c
index 0a378b55b4..744bdf5674 100644
--- a/dlls/mfplat/tests/mfplat.c
+++ b/dlls/mfplat/tests/mfplat.c
@@ -192,12 +192,11 @@ if(0)
count = 0;
ret = MFTEnum(MFT_CATEGORY_OTHER, 0, NULL, NULL, NULL, NULL, &count);
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;
ret = MFTEnum(MFT_CATEGORY_OTHER, 0, NULL, NULL, NULL, &clsids, NULL);
ok(ret == E_POINTER, "Failed to enumerate filters: %x\n", ret);
- ok(count == 0, "Expected count > 0\n");
}
count = 0;
--
2.20.1
More information about the wine-devel
mailing list