From a02e2eb1aa3537f79f970e897fff0a775590b17b Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 17 Nov 2016 23:52:31 +0000 Subject: [PATCH] [SCRRUN_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409 svn path=/trunk/; revision=73318 --- rostests/winetests/scrrun/dictionary.c | 12 ++++-------- rostests/winetests/scrrun/filesystem.c | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/rostests/winetests/scrrun/dictionary.c b/rostests/winetests/scrrun/dictionary.c index 4836f46defc..82cedc69425 100644 --- a/rostests/winetests/scrrun/dictionary.c +++ b/rostests/winetests/scrrun/dictionary.c @@ -101,10 +101,8 @@ static void test_comparemode(void) &IID_IDictionary, (void**)&dict); ok(hr == S_OK, "got 0x%08x\n", hr); -if (0) /* crashes on native */ -{ - hr = IDictionary_get_CompareMode(dict, NULL); -} + if (0) /* crashes on native */ + hr = IDictionary_get_CompareMode(dict, NULL); method = 10; hr = IDictionary_get_CompareMode(dict, &method); @@ -935,10 +933,8 @@ static void test_IEnumVARIANT(void) &IID_IDictionary, (void**)&dict); ok(hr == S_OK, "got 0x%08x\n", hr); -if (0) /* crashes on native */ -{ - hr = IDictionary__NewEnum(dict, NULL); -} + if (0) /* crashes on native */ + hr = IDictionary__NewEnum(dict, NULL); hr = IDictionary__NewEnum(dict, &enum1); ok(hr == S_OK, "got 0x%08x\n", hr); diff --git a/rostests/winetests/scrrun/filesystem.c b/rostests/winetests/scrrun/filesystem.c index 8457714b0f6..cd0e6d6064a 100644 --- a/rostests/winetests/scrrun/filesystem.c +++ b/rostests/winetests/scrrun/filesystem.c @@ -621,7 +621,7 @@ static void test_GetFile(void) hr = IFile_get_Path(file, &str); ok(hr == S_OK, "got 0x%08x\n", hr); - ok(!lstrcmpW(str, pathW), "got %s\n", wine_dbgstr_w(str)); + ok(!lstrcmpiW(str, pathW), "got %s\n", wine_dbgstr_w(str)); SysFreeString(str); #define FILE_ATTR_MASK (FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \