comdlg32/tests: Simplify a test using todo_wine_if().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2abec634ac
commit
be27c23df9
|
@ -395,16 +395,7 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
|
|||
} else if( count == 1){
|
||||
resize = resize_testcases[index].resize_check;
|
||||
GetWindowRect( parent, &rc);
|
||||
if( resize_testcases[index].todo){
|
||||
todo_wine {
|
||||
ok( resize == rc.right - rc.left - initrc.right + initrc.left,
|
||||
"testid %d size-x change %d expected %d\n", index,
|
||||
rc.right - rc.left - initrc.right + initrc.left, resize);
|
||||
ok( resize == rc.bottom - rc.top - initrc.bottom + initrc.top,
|
||||
"testid %d size-y change %d expected %d\n", index,
|
||||
rc.bottom - rc.top - initrc.bottom + initrc.top, resize);
|
||||
}
|
||||
}else{
|
||||
todo_wine_if( resize_testcases[index].todo){
|
||||
ok( resize == rc.right - rc.left - initrc.right + initrc.left,
|
||||
"testid %d size-x change %d expected %d\n", index,
|
||||
rc.right - rc.left - initrc.right + initrc.left, resize);
|
||||
|
|
Loading…
Reference in New Issue