Commit 4b3b27a7 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

riched32/tests: Test the correct return value.

parent 054f95e6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment