diff --git a/dlls/kernel32/tests/console.c b/dlls/kernel32/tests/console.c index c9b30e3b509..7b7b4fb65f1 100644 --- a/dlls/kernel32/tests/console.c +++ b/dlls/kernel32/tests/console.c @@ -2860,8 +2860,8 @@ static void test_ReadConsoleOutput(HANDLE console) coord.Y = 3; set_region(®ion, 200, 7, 15, 211); ret = ReadConsoleOutputW(console, char_info_buf, size, coord, ®ion); - ok(!ret && GetLastError() == ERROR_NOT_ENOUGH_MEMORY, "ReadConsoleOutputW returned: %x(%u)\n", ret, GetLastError()); - check_region(®ion, 200, 7, 15, 211); + ok(!ret, "ReadConsoleOutputW returned: %x(%u)\n", ret, GetLastError()); + check_region(®ion, 200, 7, -15, -211); size.X = 23; size.Y = 17;