riched32/tests: Test the correct return value.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
054f95e659
commit
4b3b27a7f1
|
@ -1263,8 +1263,8 @@ static void test_enter(void)
|
|||
SendMessageW(hwndRichEdit, WM_CHAR, 'T', 0);
|
||||
SendMessageW(hwndRichEdit, WM_CHAR, '\r', 0);
|
||||
|
||||
SendMessageA(hwndRichEdit, EM_GETTEXTEX, (WPARAM)&getText, (LPARAM)buf);
|
||||
ok(result == 1, "Got %d\n", (int)result);
|
||||
result = SendMessageA(hwndRichEdit, EM_GETTEXTEX, (WPARAM)&getText, (LPARAM)buf);
|
||||
ok(result == 3, "Got %ld\n", result);
|
||||
format_test_result(resultbuf, buf);
|
||||
format_test_result(expectedbuf, "T\r\n");
|
||||
result = strcmp(resultbuf, expectedbuf);
|
||||
|
|
Loading…
Reference in New Issue