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

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

parent 56a666d5
......@@ -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);
......
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