Mathew Hodson : kernel32/tests: Trace the mapped string when FoldStringW fails.
Alexandre Julliard
julliard at winehq.org
Mon Dec 9 16:57:36 CST 2019
Module: wine
Branch: master
Commit: 356513ef2d8b79509fa45e11a4ea452af1dae22c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=356513ef2d8b79509fa45e11a4ea452af1dae22c
Author: Mathew Hodson <mathew.hodson at gmail.com>
Date: Sat Dec 7 21:59:34 2019 -0500
kernel32/tests: Trace the mapped string when FoldStringW fails.
Signed-off-by: Mathew Hodson <mathew.hodson at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/locale.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/locale.c b/dlls/kernel32/tests/locale.c
index e43eee2788..9328666181 100644
--- a/dlls/kernel32/tests/locale.c
+++ b/dlls/kernel32/tests/locale.c
@@ -3585,7 +3585,7 @@ static void test_FoldStringW(void)
ok(ret == ARRAY_SIZE(foldczone_dst), "Got %d, error %d\n", ret, GetLastError());
ok(!memcmp(dst, foldczone_dst, sizeof(foldczone_dst))
|| broken(!memcmp(dst, foldczone_broken_dst, sizeof(foldczone_broken_dst))),
- "MAP_FOLDCZONE: Expanded incorrectly\n");
+ "Got unexpected string %s.\n", wine_dbgstr_w(dst));
/* MAP_EXPAND_LIGATURES */
SetLastError(0);
@@ -3594,7 +3594,7 @@ static void test_FoldStringW(void)
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
ok(ret == ARRAY_SIZE(ligatures_dst), "Got %d, error %d\n", ret, GetLastError());
ok(!memcmp(dst, ligatures_dst, sizeof(ligatures_dst)),
- "MAP_EXPAND_LIGATURES: Expanded incorrectly\n");
+ "Got unexpected string %s.\n", wine_dbgstr_w(dst));
}
/* FIXME: MAP_PRECOMPOSED : MAP_COMPOSITE */
More information about the wine-cvs
mailing list