kernel32/tests: Trace the mapped string when FoldStringW fails.
Signed-off-by: Mathew Hodson <mathew.hodson@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
624ed18b1f
commit
356513ef2d
|
@ -3585,7 +3585,7 @@ static void test_FoldStringW(void)
|
||||||
ok(ret == ARRAY_SIZE(foldczone_dst), "Got %d, error %d\n", ret, GetLastError());
|
ok(ret == ARRAY_SIZE(foldczone_dst), "Got %d, error %d\n", ret, GetLastError());
|
||||||
ok(!memcmp(dst, foldczone_dst, sizeof(foldczone_dst))
|
ok(!memcmp(dst, foldczone_dst, sizeof(foldczone_dst))
|
||||||
|| broken(!memcmp(dst, foldczone_broken_dst, sizeof(foldczone_broken_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 */
|
/* MAP_EXPAND_LIGATURES */
|
||||||
SetLastError(0);
|
SetLastError(0);
|
||||||
|
@ -3594,7 +3594,7 @@ static void test_FoldStringW(void)
|
||||||
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
|
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
|
||||||
ok(ret == ARRAY_SIZE(ligatures_dst), "Got %d, error %d\n", ret, GetLastError());
|
ok(ret == ARRAY_SIZE(ligatures_dst), "Got %d, error %d\n", ret, GetLastError());
|
||||||
ok(!memcmp(dst, ligatures_dst, sizeof(ligatures_dst)),
|
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 */
|
/* FIXME: MAP_PRECOMPOSED : MAP_COMPOSITE */
|
||||||
|
|
Loading…
Reference in New Issue