Replace a trace with a previously removed test.

This commit is contained in:
James Hawkins 2005-03-25 10:26:18 +00:00 committed by Alexandre Julliard
parent b1d65cb15d
commit 1ef206de77
1 changed files with 3 additions and 2 deletions

View File

@ -342,7 +342,8 @@ static void test_reg_close_key()
/* try to close the key twice */ /* try to close the key twice */
ret = RegCloseKey(hkHandle); /* Windows 95 doesn't mind. */ ret = RegCloseKey(hkHandle); /* Windows 95 doesn't mind. */
trace ("closing key twice, got %ld\n", ret); ok(ret == ERROR_INVALID_HANDLE || ret == ERROR_SUCCESS,
"expected ERROR_INVALID_HANDLE or ERROR_SUCCESS, got %ld\n", ret);
/* try to close a NULL handle */ /* try to close a NULL handle */
ret = RegCloseKey(NULL); ret = RegCloseKey(NULL);