comctl32/tests: Check the correct last-error code.
Michael Stefaniuc
mstefani at winehq.org
Tue Apr 18 18:24:15 CDT 2017
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/comctl32/tests/animate.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/tests/animate.c b/dlls/comctl32/tests/animate.c
index c64dbfa..fab345b 100644
--- a/dlls/comctl32/tests/animate.c
+++ b/dlls/comctl32/tests/animate.c
@@ -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);
--
2.9.3
More information about the wine-patches
mailing list