From 4e12b8efc829cdac306c59fb8cff352106d80122 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 14 Jan 2009 16:28:58 +0300 Subject: [PATCH] kernel32/tests: Some todo tests for CompareStringA and lstrcmpi. --- dlls/kernel32/tests/locale.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/kernel32/tests/locale.c b/dlls/kernel32/tests/locale.c index 4dce7335e0b..dfbbe04d6c0 100644 --- a/dlls/kernel32/tests/locale.c +++ b/dlls/kernel32/tests/locale.c @@ -1110,6 +1110,12 @@ static void test_CompareStringA(void) ret = CompareStringA(lcid, 0, "\2", 2, "\1", 2); todo_wine ok(ret != 2, "\\2 vs \\1 expected unequal\n"); + + ret = CompareStringA(lcid, NORM_IGNORECASE | LOCALE_USE_CP_ACP, "#", -1, ".", -1); + todo_wine ok(ret == CSTR_LESS_THAN, "\"#\" vs \".\" expected CSTR_LESS_THAN, got %d\n", ret); + + ret = lstrcmpi("#", "."); + todo_wine ok(ret == -1, "\"#\" vs \".\" expected -1, got %d\n", ret); } static void test_LCMapStringA(void)