[SCRRUN_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 17 Nov 2016 23:52:31 +0000 (23:52 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 17 Nov 2016 23:52:31 +0000 (23:52 +0000)
svn path=/trunk/; revision=73318

rostests/winetests/scrrun/dictionary.c
rostests/winetests/scrrun/filesystem.c

index 4836f46..82cedc6 100644 (file)
@@ -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);
index 8457714..cd0e6d6 100644 (file)
@@ -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 | \