[PATCH 1/3] shell32/test: Fix an ok() message.

Francois Gouget fgouget at codeweavers.com
Sun Jul 4 08:41:57 CDT 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 dlls/shell32/tests/shellpath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index ea6f92ce827..96bfd1d94ef 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -3010,7 +3010,7 @@ static void test_PathResolve(void)
         ok(!lstrcmpiW(path, tests[i].expected_path),
                 "test %d: expected %s, got %s\n", i, wine_dbgstr_w(tests[i].expected_path), wine_dbgstr_w(path));
         if (!tests[i].expected)
-            ok(GetLastError() == ERROR_FILE_NOT_FOUND, "expected ERROR_ALREADY_EXISTS, got %d\n", GetLastError());
+            ok(GetLastError() == ERROR_FILE_NOT_FOUND, "expected ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());
     }
 
     CloseHandle(file);
-- 
2.20.1




More information about the wine-devel mailing list