From 4cfb1e6952e7b4ae16228b103790bf1512979d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=B6berle?= Date: Sat, 24 Jan 2009 18:06:40 +0100 Subject: [PATCH] user32/tests: Improved an error message. --- dlls/user32/tests/win.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 13534abe135..93c6039e7fd 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -5195,11 +5195,15 @@ static void test_fullscreen(void) todo_wine ok(rc.left >= mi.rcWork.left && rc.top <= mi.rcWork.top && rc.right <= mi.rcWork.right && rc.bottom <= mi.rcWork.bottom, - "%#x/%#x: window rect %d,%d-%d,%d\n", ex_style, style, rc.left, rc.top, rc.right, rc.bottom); + "%#x/%#x: window rect %d,%d-%d,%d must be in %d,%d-%d,%d\n", + ex_style, style, rc.left, rc.top, rc.right, rc.bottom, + mi.rcWork.left, mi.rcWork.top, mi.rcWork.right, mi.rcWork.bottom); else ok(rc.left >= mi.rcWork.left && rc.top <= mi.rcWork.top && rc.right <= mi.rcWork.right && rc.bottom <= mi.rcWork.bottom, - "%#x/%#x: window rect %d,%d-%d,%d\n", ex_style, style, rc.left, rc.top, rc.right, rc.bottom); + "%#x/%#x: window rect %d,%d-%d,%d must be in %d,%d-%d,%d\n", + ex_style, style, rc.left, rc.top, rc.right, rc.bottom, + mi.rcWork.left, mi.rcWork.top, mi.rcWork.right, mi.rcWork.bottom); DestroyWindow(hwnd); style = t_style[i] | WS_MAXIMIZE | WS_MAXIMIZEBOX;