Commit d32d8ac8 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

riched20/tests: Add '\n's to ok() calls.

parent 02b1ef89
......@@ -1290,7 +1290,7 @@ static void test_EM_EXLIMITTEXT(void)
/* try inserting more text at end */
i = SendMessage(hwndRichEdit, WM_CHAR, 'A', 0);
ok(0 == i, "WM_CHAR wasn't processed");
ok(0 == i, "WM_CHAR wasn't processed\n");
SendMessage(hwndRichEdit, WM_GETTEXT, 1024, (LPARAM) buffer);
i = strlen(buffer);
ok(10 == i, "expected 10 chars, got %i\n", i);
......@@ -1300,7 +1300,7 @@ static void test_EM_EXLIMITTEXT(void)
/* try inserting text at beginning */
SendMessage(hwndRichEdit, EM_SETSEL, 0, 0);
i = SendMessage(hwndRichEdit, WM_CHAR, 'A', 0);
ok(0 == i, "WM_CHAR wasn't processed");
ok(0 == i, "WM_CHAR wasn't processed\n");
SendMessage(hwndRichEdit, WM_GETTEXT, 1024, (LPARAM) buffer);
i = strlen(buffer);
ok(10 == i, "expected 10 chars, got %i\n", i);
......@@ -1312,9 +1312,9 @@ static void test_EM_EXLIMITTEXT(void)
SendMessage(hwndRichEdit, EM_EXLIMITTEXT, 0, textlimit);
SendMessage(hwndRichEdit, EM_SETSEL, 0, -1); /* select everything */
i = SendMessage(hwndRichEdit, WM_CHAR, 'A', 0);
ok(0 == i, "WM_CHAR wasn't processed");
ok(0 == i, "WM_CHAR wasn't processed\n");
i = SendMessage(hwndRichEdit, WM_CHAR, 'A', 0);
ok(0 == i, "WM_CHAR wasn't processed");
ok(0 == i, "WM_CHAR wasn't processed\n");
SendMessage(hwndRichEdit, WM_GETTEXT, 1024, (LPARAM) buffer);
i = strlen(buffer);
ok(1 == i, "expected 1 chars, got %i instead\n", i);
......
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