[PATCH] dwrite/tests: Avoid "misleading indentation" warnings

Dmitry Timoshkov dmitry at baikal.ru
Sun Apr 24 02:53:19 CDT 2022


Fabian Maurer <dark.shadow4 at web.de> wrote:

> Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
> ---
>  dlls/dwrite/tests/layout.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/dlls/dwrite/tests/layout.c b/dlls/dwrite/tests/layout.c
> index 43b6efa107b..c3445550650 100644
> --- a/dlls/dwrite/tests/layout.c
> +++ b/dlls/dwrite/tests/layout.c
> @@ -4805,19 +4805,19 @@ static void test_system_fallback(void)
>          g_source = tests[i].text;
>          hr = IDWriteFontFallback_MapCharacters(fallback, &analysissource, 0, 1, NULL, NULL, DWRITE_FONT_WEIGHT_NORMAL,
>                  DWRITE_FONT_STYLE_NORMAL, DWRITE_FONT_STRETCH_NORMAL, &length, &font, &scale);
> -    todo_wine
> +        todo_wine
>          ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
>          if (hr != S_OK) continue;
>          ok(length == 1, "Unexpected length %u\n", length);
>          ok(scale == 1.0f, "got %f\n", scale);
> 
>          get_font_name(font, name, ARRAY_SIZE(name));
> -    todo_wine
> +        todo_wine
>          ok(!wcscmp(name, tests[i].name), "%u: unexpected name %s.\n", i, wine_dbgstr_w(name));
> 
>          hr = IDWriteFont_HasCharacter(font, g_source[0], &exists);
>          ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
> -    todo_wine
> +        todo_wine
>          ok(exists, "%s missing character %#x\n", wine_dbgstr_w(name), g_source[0]);
> 
>          IDWriteFont_Release(font);

The following patch set is supposed to remove the todos, and still waiting
for a review:
https://source.winehq.org/patches/data/231814
https://source.winehq.org/patches/data/231815

-- 
Dmitry.



More information about the wine-devel mailing list