[PATCH 5/9] dwrite/tests: Remove overzealous test.

Giovanni Mascellani gmascellani at codeweavers.com
Thu Mar 4 04:23:08 CST 2021


While this test happens to always be true on Windows, this is just a
property of the fallback fonts installed on the system, not a property
of the code. Since we cannot control the fonts installed on users'
computers, it makes no sense to do this test.

Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
---
 dlls/dwrite/tests/layout.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/dwrite/tests/layout.c b/dlls/dwrite/tests/layout.c
index 993a742a7e1..134a7ec7e02 100644
--- a/dlls/dwrite/tests/layout.c
+++ b/dlls/dwrite/tests/layout.c
@@ -4740,12 +4740,6 @@ todo_wine {
 todo_wine
     ok(font != NULL, "got %p\n", font);
 if (font) {
-    /* font returned for Hiragana character, check if it supports Latin too */
-    exists = FALSE;
-    hr = IDWriteFont_HasCharacter(font, 'b', &exists);
-    ok(hr == S_OK, "got 0x%08x\n", hr);
-    ok(exists, "got %d\n", exists);
-
     IDWriteFont_Release(font);
 }
     /* Try with explicit collection, Tahoma will be forced. */
-- 
2.30.1




More information about the wine-devel mailing list