Commit 1ef206de authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

Replace a trace with a previously removed test.

parent b1d65cb1
......@@ -342,8 +342,9 @@ static void test_reg_close_key()
/* try to close the key twice */
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 */
ret = RegCloseKey(NULL);
ok(ret == ERROR_INVALID_HANDLE || ret == ERROR_BADKEY, /* Windows 95 returns BADKEY */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment