Alexandre Julliard : user32/tests: Fix a test that fails on all Windows versions.
Alexandre Julliard
julliard at winehq.org
Mon Sep 15 06:54:52 CDT 2008
Module: wine
Branch: master
Commit: 6337ba3ca0a777b372872118d68c2d2ebb995dbc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6337ba3ca0a777b372872118d68c2d2ebb995dbc
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Sep 15 11:30:13 2008 +0200
user32/tests: Fix a test that fails on all Windows versions.
---
dlls/user32/tests/win.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 30bc973..407becd 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -4791,8 +4791,7 @@ static void test_hwnd_message(void)
SetLastError(0xdeadbeef);
found = FindWindowExA( GetDesktopWindow(), 0, 0, "message window" );
ok( found == 0, "found message window %p/%p\n", found, hwnd );
- todo_wine
- ok(GetLastError() == ERROR_FILE_NOT_FOUND, "ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());
+ ok( GetLastError() == 0xdeadbeef, "expected deadbeef, got %d\n", GetLastError() );
if (parent)
{
found = FindWindowExA( parent, 0, 0, "message window" );
More information about the wine-cvs
mailing list