kernel32/tests: Moved ok-statement to the appropriate place.

This commit is contained in:
Paul Vriens 2006-12-30 20:19:07 +01:00 committed by Alexandre Julliard
parent 83f071cf7b
commit 85b52e5693
1 changed files with 3 additions and 2 deletions

View File

@ -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);