Module: wine Branch: master Commit: 020145248371bbfd2e473e79ba873e8313dde72d URL: https://gitlab.winehq.org/wine/wine/-/commit/020145248371bbfd2e473e79ba873e8...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 15 12:02:47 2023 +0100
riched20/tests: Add context to the EM_FORMATRANGE tests.
---
dlls/riched20/tests/editor.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index 788491f3ffb..7c959680e84 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -5784,6 +5784,7 @@ static void test_EM_FORMATRANGE(void) SIZE stringsize; int len;
+ winetest_push_context("%d", i); SendMessageA(hwndRichEdit, WM_SETTEXT, 0, (LPARAM)fmtstrings[i].string);
gtl.flags = GTL_NUMCHARS | GTL_PRECISE; @@ -5840,6 +5841,7 @@ static void test_EM_FORMATRANGE(void) todo_wine { ok(r == len, "Expected %d, got %d\n", len, r); } + winetest_pop_context(); }
ReleaseDC(NULL, hdc);