Commit 912cdec7 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

kernel32/tests: Don't outdent todo_wine*.

This prevents -Wmisleading-indentation warnings (Mingw GCC11). Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 06d399fc
...@@ -4098,14 +4098,14 @@ static void test_CreateFile(void) ...@@ -4098,14 +4098,14 @@ static void test_CreateFile(void)
ok(hfile == INVALID_HANDLE_VALUE, "CreateFile should fail\n"); ok(hfile == INVALID_HANDLE_VALUE, "CreateFile should fail\n");
if (i == 0 || i == 5) if (i == 0 || i == 5)
{ {
/* FIXME: remove once Wine is fixed */ /* FIXME: remove once Wine is fixed */
todo_wine_if (i == 5) todo_wine_if (i == 5)
ok(GetLastError() == ERROR_INVALID_PARAMETER, "%d: expected ERROR_INVALID_PARAMETER, got %d\n", i, GetLastError()); ok(GetLastError() == ERROR_INVALID_PARAMETER, "%d: expected ERROR_INVALID_PARAMETER, got %d\n", i, GetLastError());
} }
else else
{ {
/* FIXME: remove once Wine is fixed */ /* FIXME: remove once Wine is fixed */
todo_wine_if (i == 1) todo_wine_if (i == 1)
ok(GetLastError() == ERROR_ACCESS_DENIED, "%d: expected ERROR_ACCESS_DENIED, got %d\n", i, GetLastError()); ok(GetLastError() == ERROR_ACCESS_DENIED, "%d: expected ERROR_ACCESS_DENIED, got %d\n", i, GetLastError());
} }
...@@ -4116,8 +4116,8 @@ todo_wine_if (i == 1) ...@@ -4116,8 +4116,8 @@ todo_wine_if (i == 1)
ok(GetLastError() == ERROR_INVALID_PARAMETER, "%d: expected ERROR_INVALID_PARAMETER, got %d\n", i, GetLastError()); ok(GetLastError() == ERROR_INVALID_PARAMETER, "%d: expected ERROR_INVALID_PARAMETER, got %d\n", i, GetLastError());
else else
{ {
/* FIXME: remove once Wine is fixed */ /* FIXME: remove once Wine is fixed */
todo_wine_if (i == 1) todo_wine_if (i == 1)
ok(GetLastError() == ERROR_ACCESS_DENIED, "%d: expected ERROR_ACCESS_DENIED, got %d\n", i, GetLastError()); ok(GetLastError() == ERROR_ACCESS_DENIED, "%d: expected ERROR_ACCESS_DENIED, got %d\n", i, GetLastError());
} }
} }
......
...@@ -3833,7 +3833,7 @@ static void test_process_info(HANDLE hproc) ...@@ -3833,7 +3833,7 @@ static void test_process_info(HANDLE hproc)
ok(status == STATUS_SUCCESS || status == STATUS_INVALID_PARAMETER, ok(status == STATUS_SUCCESS || status == STATUS_INVALID_PARAMETER,
"for info %u, got %08x (ret_len %u)\n", i, status, ret_len); "for info %u, got %08x (ret_len %u)\n", i, status, ret_len);
else else
todo_wine todo_wine
ok(status == STATUS_ACCESS_DENIED, ok(status == STATUS_ACCESS_DENIED,
"for info %u expected STATUS_ACCESS_DENIED, got %08x (ret_len %u)\n", i, status, ret_len); "for info %u expected STATUS_ACCESS_DENIED, got %08x (ret_len %u)\n", i, status, ret_len);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment