From 85b52e5693c5ee6508c06bcbc14f67e091aeb7e3 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Sat, 30 Dec 2006 20:19:07 +0100 Subject: [PATCH] kernel32/tests: Moved ok-statement to the appropriate place. --- dlls/kernel32/tests/thread.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c index b51bb571c91..42e649b5368 100644 --- a/dlls/kernel32/tests/thread.c +++ b/dlls/kernel32/tests/thread.c @@ -469,6 +469,9 @@ static VOID test_thread_priority(void) if (rc==0 && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED) return; /* WinME */ + todo_wine + ok(rc!=0,"error=%d\n",GetLastError()); + /* check that access control is obeyed */ access_thread=pOpenThread(THREAD_ALL_ACCESS & (~THREAD_QUERY_INFORMATION) & (~THREAD_SET_INFORMATION), @@ -481,8 +484,6 @@ static VOID test_thread_priority(void) } todo_wine { - ok(rc!=0,"error=%d\n",GetLastError()); - rc = pSetThreadPriorityBoost(curthread,1); ok( rc != 0, "error=%d\n",GetLastError()); rc=pGetThreadPriorityBoost(curthread,&disabled);