30 Oct
2025
30 Oct
'25
7:27 p.m.
Paul Gofman (@gofman) commented about dlls/kernel32/tests/sync.c:
maxevents[0] = GetCurrentProcess(); SetLastError(0xdeadbeef); r = WaitForMultipleObjects(1, maxevents, FALSE, 100); - todo_wine ok(r == WAIT_FAILED, "expected WAIT_FAILED, got %lu\n", r); - todo_wine ok(GetLastError() == ERROR_INVALID_HANDLE, + ok(r == WAIT_FAILED, "expected WAIT_FAILED, got %lu\n", r); + ok(GetLastError() == ERROR_INVALID_HANDLE, "expected ERROR_INVALID_HANDLE, got %lu\n", GetLastError());
Indentation (also in other places), I think it should either align to GetLastError() start or have two tabs from 'ok' start. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9305#note_120162