Alexandre Julliard : shell32/tests: Avoid winetest_strcmpW.

Alexandre Julliard julliard at winehq.org
Fri Nov 29 13:17:29 CST 2019


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov 29 13:57:56 2019 +0100

shell32/tests: Avoid winetest_strcmpW.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/shelllink.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index 3bfd9cbe38..db839200d5 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -496,9 +496,7 @@ void create_lnk_(int line, const WCHAR* path, lnk_desc_t* desc, int save_fails)
         {
             IMalloc *pmalloc;
 
-            lok(!winetest_strcmpW(path, str), "Expected %s, got %s\n",
-                wine_dbgstr_w(path), wine_dbgstr_w(str));
-
+            lok(!wcscmp(path, str), "Expected %s, got %s\n", wine_dbgstr_w(path), wine_dbgstr_w(str));
             SHGetMalloc(&pmalloc);
             IMalloc_Free(pmalloc, str);
         }
@@ -554,9 +552,7 @@ static void check_lnk_(int line, const WCHAR* path, lnk_desc_t* desc, int todo)
     {
         IMalloc *pmalloc;
 
-        lok(!winetest_strcmpW(path, str), "Expected %s, got %s\n",
-            wine_dbgstr_w(path), wine_dbgstr_w(str));
-
+        lok(!wcscmp(path, str), "Expected %s, got %s\n", wine_dbgstr_w(path), wine_dbgstr_w(str));
         SHGetMalloc(&pmalloc);
         IMalloc_Free(pmalloc, str);
     }




More information about the wine-cvs mailing list