kernel32/tests: Don't skip the CompareStringA() tests on Windows.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-08-22 18:15:42 +02:00 committed by Alexandre Julliard
parent bf6ac26f75
commit 2e89691bb6
1 changed files with 6 additions and 2 deletions

View File

@ -1903,9 +1903,13 @@ static void test_CompareStringA(void)
ret = lstrcmpA(NULL, "");
ok (ret == -1 || broken(ret == -2) /* win9x */, "lstrcmpA(NULL, \"\") should return -1, got %d\n", ret);
if (0) { /* this requires collation table patch to make it MS compatible */
/* this requires collation table patch to make it MS compatible */
if (strcmp(winetest_platform, "wine") == 0)
skip("in Wine due to the lack of a compatible collation table\n");
else
{
ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0, "'o", -1, "-o", -1 );
ok(ret == CSTR_LESS_THAN, "'o vs -o expected CSTR_LESS_THAN, got %d\n", ret);