mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:55:40 +00:00
advapi32/tests: Don't test function directly when reporting GetLastError().
This commit is contained in:
parent
5dab8075cf
commit
e2b0cbb797
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue