Module: wine Branch: master Commit: c0598baa874e9d328fefd200510e0cbfc178134e URL: https://gitlab.winehq.org/wine/wine/-/commit/c0598baa874e9d328fefd200510e0cb...
Author: Piotr Caban piotr@codeweavers.com Date: Sat Jan 20 20:46:31 2024 +0100
msvcp140/tests: Fix _Syserror_map(0) test failure in newest msvcp140.
---
dlls/msvcp140/tests/msvcp140.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/msvcp140/tests/msvcp140.c b/dlls/msvcp140/tests/msvcp140.c index 6affa2f9c29..0140d4c3925 100644 --- a/dlls/msvcp140/tests/msvcp140.c +++ b/dlls/msvcp140/tests/msvcp140.c @@ -1396,6 +1396,8 @@ static void test__Syserror_map(void)
r1 = p__Syserror_map(0); ok(r1 != NULL, "_Syserror_map(0) returned NULL\n"); + r1 = p__Syserror_map(1233); + ok(r1 != NULL, "_Syserror_map(1233) returned NULL\n"); r2 = p__Syserror_map(1234); ok(r2 != NULL, "_Syserror_map(1234) returned NULL\n"); ok(r1 == r2, "r1 = %p(%s), r2 = %p(%s)\n", r1, r1, r2, r2);