user32/tests: Fix the wording of an ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ce0b7342c0
commit
f593babf6d
|
@ -5272,7 +5272,7 @@ static void test_WM_DEVICECHANGE(HWND hwnd)
|
||||||
ret = PostMessageA(hwnd, WM_DEVICECHANGE, wparams[i], 0);
|
ret = PostMessageA(hwnd, WM_DEVICECHANGE, wparams[i], 0);
|
||||||
if (wparams[i] & 0x8000)
|
if (wparams[i] & 0x8000)
|
||||||
{
|
{
|
||||||
ok(ret == FALSE, "PostMessage should returned %d\n", ret);
|
ok(ret == FALSE, "PostMessage returned %d\n", ret);
|
||||||
ok(GetLastError() == ERROR_MESSAGE_SYNC_ONLY, "PostMessage error %08x\n", GetLastError());
|
ok(GetLastError() == ERROR_MESSAGE_SYNC_ONLY, "PostMessage error %08x\n", GetLastError());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue