riched32/tests: Skip some tests on Win9x, WinME and NT4.

This commit is contained in:
Paul Vriens 2009-02-03 13:55:53 +01:00 committed by Alexandre Julliard
parent 3cd4150059
commit e1b80a04a0
1 changed files with 4 additions and 0 deletions

View File

@ -450,6 +450,10 @@ static void test_EM_LINELENGTH(void)
SendMessage(hwndRichEdit, WM_SETTEXT, 0, (LPARAM) text);
result = SendMessage(hwndRichEdit, EM_GETLINECOUNT, 0, 0);
if (result == 4) {
win_skip("Win9x, WinME and NT4 don't handle '\\r only' correctly\n");
return;
}
ok(result == 9, "Incorrect line count of %ld\n", result);
for (i = 0; i < sizeof(offset_test)/sizeof(offset_test[0]); i++) {