Commit 24340287 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

wintrust/tests: Do not test GetLastError on success.

parent 49ff2be0
......@@ -206,9 +206,7 @@ static void test_context(void)
/* Proper release */
SetLastError(0xdeadbeef);
ret = pCryptCATAdminReleaseContext(hca, 0);
ok(ret, "Expected success\n");
ok(GetLastError() == 0xdeadbeef,
"Expected no change in last error, got %d\n", GetLastError());
ok(ret, "Expected success, got FALSE with %d\n", GetLastError());
/* Try to release a second time */
SetLastError(0xdeadbeef);
......
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