mirror of
https://github.com/reactos/wine.git
synced 2024-11-30 23:20:56 +00:00
comctl32/tests: Check the correct last error code.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f506ffc6d6
commit
c7c8d24bf9
@ -160,8 +160,9 @@ static void test_play(void)
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
res = SendMessageA(hAnimateWnd, ACM_PLAY, (WPARAM) -1, MAKELONG(0, -1));
|
||||
err = GetLastError();
|
||||
ok(res == 0, "Play should have failed\n");
|
||||
ok(err == ERROR_RESOURCE_NAME_NOT_FOUND, "Expected 1814, got %u\n", err);
|
||||
ok(err == 0xdeadbeef, "Expected 0xdeadbeef, got %u\n", err);
|
||||
destroy_animate();
|
||||
|
||||
create_animate(0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user