Skip to content
Snippets Groups Projects
Commit e96056a0 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard
Browse files

regedit/tests: Add missing ok() check after RegOpenKeyExA().

parent 0cf2adb3
No related branches found
No related tags found
No related merge requests found
......@@ -518,6 +518,7 @@ static void test_comments(void)
";comment\\\n"
"\"Wine2\"=\"Line 2\"\n\n");
lr = RegOpenKeyExA(HKEY_CURRENT_USER, KEY_BASE, 0, KEY_READ, &hkey);
ok(lr == ERROR_SUCCESS, "RegOpenKeyExA failed: %d\n", lr);
verify_reg(hkey, "Wine1", REG_SZ, "Line 1", 7, 0);
verify_reg(hkey, "Wine2", REG_SZ, "Line 2", 7, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment