mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 03:43:38 +00:00
riched20/tests: Add context to the EM_FORMATRANGE tests.
This commit is contained in:
parent
b5b5b0b365
commit
0201452483
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue