advapi32: Break up one test into two

James Hawkins truiken at gmail.com
Mon Apr 18 21:53:30 CDT 2005


Hey,

Requires the previous advapi32 patches sent in because of line changes.

Changelog
* Break up one test into two

-- 
James Hawkins
-------------- next part --------------
Index: dlls/advapi32/tests/registry.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/registry.c,v
retrieving revision 1.21
diff -u -p -r1.21 registry.c
--- dlls/advapi32/tests/registry.c	18 Apr 2005 09:52:40 -0000	1.21
+++ dlls/advapi32/tests/registry.c	19 Apr 2005 02:51:57 -0000
@@ -274,8 +270,8 @@ static void test_reg_open_key()
     /* open same key twice */
     ret = RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\Test", &hkResult);
     ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %ld\n", ret);
-    ok(hkResult != hkPreserve && hkResult != NULL, 
-		"expected hkResult != hkPreserve and hkResult != NULL\n");
+    ok(hkResult != hkPreserve, "epxected hkResult != hkPreserve\n");
+    ok(hkResult != NULL, "hkResult != NULL\n");
     RegCloseKey(hkResult);
 
     /* open nonexistent key


More information about the wine-patches mailing list