Commit e2b0cbb7 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard

advapi32/tests: Don't test function directly when reporting GetLastError().

parent 5dab8075
......@@ -1672,7 +1672,8 @@ static void test_reg_load_app_key(void)
RegCloseKey(appkey);
wait_file_available(hivefilepath);
ok(DeleteFileA(hivefilepath), "couldn't delete hive file %ld\n", GetLastError());
ret = DeleteFileA(hivefilepath);
ok(ret, "couldn't delete hive file %ld\n", GetLastError());
}
/* tests that show that RegConnectRegistry and
......
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