comctl32/tests: Fix a couple typos in ok() calls.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
808b00d6e0
commit
778717673e
|
@ -1718,17 +1718,17 @@ static void check_orderarray(HWND hwnd, DWORD start, DWORD set, DWORD expected,
|
|||
order[i-1] = start>>(4*(count-i)) & 0xf;
|
||||
|
||||
ret = SendMessageA(hwnd, HDM_SETORDERARRAY, count, (LPARAM)order);
|
||||
ok_(__FILE__, line)(ret, "Expected HDM_SETORDERARAY to succeed, got %d\n", ret);
|
||||
ok_(__FILE__, line)(ret, "Expected HDM_SETORDERARRAY to succeed, got %d\n", ret);
|
||||
|
||||
/* new order */
|
||||
for(i = 1; i<=count; i++)
|
||||
order[i-1] = set>>(4*(count-i)) & 0xf;
|
||||
ret = SendMessageA(hwnd, HDM_SETORDERARRAY, count, (LPARAM)order);
|
||||
ok_(__FILE__, line)(ret, "Expected HDM_SETORDERARAY to succeed, got %d\n", ret);
|
||||
ok_(__FILE__, line)(ret, "Expected HDM_SETORDERARRAY to succeed, got %d\n", ret);
|
||||
|
||||
/* check actual order */
|
||||
ret = SendMessageA(hwnd, HDM_GETORDERARRAY, count, (LPARAM)order);
|
||||
ok_(__FILE__, line)(ret, "Expected HDM_GETORDERARAY to succeed, got %d\n", ret);
|
||||
ok_(__FILE__, line)(ret, "Expected HDM_GETORDERARRAY to succeed, got %d\n", ret);
|
||||
for(i = 1; i<=count; i++)
|
||||
array |= order[i-1]<<(4*(count-i));
|
||||
|
||||
|
|
|
@ -399,7 +399,7 @@ static void basic_test(void)
|
|||
ok(SendMessageA(hToolbar, TB_ISBUTTONCHECKED, 1005, 0), "A6 pressed\n");
|
||||
ok(!SendMessageA(hToolbar, TB_ISBUTTONCHECKED, 1004, 0), "A5 not pressed anymore\n");
|
||||
|
||||
/* test for inter-group crosstalk, ie. two radio groups interfering with each other */
|
||||
/* test for inter-group crosstalk, i.e. two radio groups interfering with each other */
|
||||
SendMessageA(hToolbar, TB_CHECKBUTTON, 1007, 1); /* press B2 */
|
||||
ok(SendMessageA(hToolbar, TB_ISBUTTONCHECKED, 1005, 0), "A6 still pressed, no inter-group crosstalk\n");
|
||||
ok(!SendMessageA(hToolbar, TB_ISBUTTONCHECKED, 1000, 0), "A1 still not pressed\n");
|
||||
|
|
Loading…
Reference in New Issue