mscoree/tests: Don't test function directly when reporting GetLastError().
This commit is contained in:
parent
56a666d563
commit
2ce7cee4fc
1 changed files with 2 additions and 2 deletions
|
@ -633,8 +633,8 @@ static void test_loadpaths_execute(const WCHAR *exe_name, const WCHAR *dll_name,
|
|||
DWORD exit_code = 0xdeadbeef, err;
|
||||
BOOL ret;
|
||||
|
||||
ok(create_new_dir(tmpdir, L"loadpaths"),
|
||||
"failed to create a new dir %lu\n", GetLastError());
|
||||
ret = create_new_dir(tmpdir, L"loadpaths");
|
||||
ok(ret, "failed to create a new dir %lu\n", GetLastError());
|
||||
end = tmpdir + wcslen(tmpdir);
|
||||
|
||||
wcscpy(tmpexe, tmpdir);
|
||||
|
|
Loading…
Add table
Reference in a new issue