Francois Gouget : shell32/test: Fix an ok() message.

Alexandre Julliard julliard at winehq.org
Mon Jul 5 16:24:19 CDT 2021


Module: wine
Branch: master
Commit: d6d46299dd8bcf58ce25d14f42b8d04efbdc7c33
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d6d46299dd8bcf58ce25d14f42b8d04efbdc7c33

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Sun Jul  4 15:41:57 2021 +0200

shell32/test: Fix an ok() message.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list