Detlef Riekenberg : shell32/tests: Ignore case when comparing filenames.

Alexandre Julliard julliard at winehq.org
Fri Jun 22 10:52:03 CDT 2012


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Fri Jun 22 05:07:32 2012 +0200

shell32/tests: Ignore case when comparing filenames.

---

 dlls/shell32/tests/shelldispatch.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index 307e0fc..9d8d70b 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -140,7 +140,7 @@ static void test_namespace(void)
                 p = path + lstrlenW(path);
                 while (path < p && *(p - 1) != '\\')
                     p--;
-                ok(!lstrcmpW(title, p), "expected %s, got %s\n",
+                ok(!lstrcmpiW(title, p), "expected %s, got %s\n",
                  wine_dbgstr_w(p), wine_dbgstr_w(title));
             }
             else skip("skipping Folder::get_Title test\n");
@@ -157,7 +157,7 @@ static void test_namespace(void)
                 r = FolderItem_get_Path(item, &item_path);
                 ok(r == S_OK, "FolderItem::get_Path failed: %08x\n", r);
                 if (pSHGetFolderPathW)
-                    ok(!lstrcmpW(item_path, path), "expected %s, got %s\n",
+                    ok(!lstrcmpiW(item_path, path), "expected %s, got %s\n",
                      wine_dbgstr_w(path), wine_dbgstr_w(item_path));
                 SysFreeString(item_path);
                 FolderItem_Release(item);




More information about the wine-cvs mailing list