Module: wine Branch: master Commit: a5cc9c9d44e7979bd9170fbdece4fa787a0365be URL: https://gitlab.winehq.org/wine/wine/-/commit/a5cc9c9d44e7979bd9170fbdece4fa7...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jan 11 16:26:02 2023 +0100
shell32/tests: Fix a test failure on Windows 11.
---
dlls/shell32/tests/shelllink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c index e7cc3c51aba..f13155ade2f 100644 --- a/dlls/shell32/tests/shelllink.c +++ b/dlls/shell32/tests/shelllink.c @@ -1140,7 +1140,7 @@ static void test_SHExtractIcons(void) ok(ret == ~0u, "got %u\n", ret);
ret = pSHExtractIconsW(notepadW, 0, 16, 16, NULL, NULL, 1, 0); - ok(ret == 1 || broken(ret == 2) /* win2k */, "got %u\n", ret); + ok(ret == 1 || ret == 4 /* win11 */, "got %u\n", ret);
icons[0] = (HICON)0xdeadbeef; ret = pSHExtractIconsW(notepadW, 0, 16, 16, icons, NULL, 1, 0);