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

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

parent e39c09f5
......@@ -2291,8 +2291,10 @@ static void test_rename(void)
ok(delete_file("a/six.txt"), "File should exist.\n");
SetupCloseFileQueue(queue);
ok(delete_file("a/"), "Failed to delete directory, error %lu.\n", GetLastError());
ok(delete_file("b/"), "Failed to delete directory, error %lu.\n", GetLastError());
ret = delete_file("a/");
ok(ret, "Failed to delete directory, error %lu.\n", GetLastError());
ret = delete_file("b/");
ok(ret, "Failed to delete directory, error %lu.\n", GetLastError());
}
static WCHAR service_name[] = L"Wine Test Service";
......
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