kernel32/tests: Fix a failing test in Vista.

This commit is contained in:
Nicolas Le Cam 2008-07-20 23:35:03 +02:00 committed by Alexandre Julliard
parent 5cf418f521
commit eb612fd4dc
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ static void test_CompareStringA(void)
/* test for CompareStringA flags */
SetLastError(0xdeadbeef);
ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0x10, "NULL", -1, "NULL", -1);
ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0x8, "NULL", -1, "NULL", -1);
ok(GetLastError() == ERROR_INVALID_FLAGS,
"unexpected error code %d\n", GetLastError());
ok(!ret, "CompareStringA must fail with invalid flag\n");