wintrust/tests: Do not test GetLastError on success.
This commit is contained in:
parent
49ff2be04e
commit
24340287fd
|
@ -206,9 +206,7 @@ static void test_context(void)
|
||||||
/* Proper release */
|
/* Proper release */
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ret = pCryptCATAdminReleaseContext(hca, 0);
|
ret = pCryptCATAdminReleaseContext(hca, 0);
|
||||||
ok(ret, "Expected success\n");
|
ok(ret, "Expected success, got FALSE with %d\n", GetLastError());
|
||||||
ok(GetLastError() == 0xdeadbeef,
|
|
||||||
"Expected no change in last error, got %d\n", GetLastError());
|
|
||||||
|
|
||||||
/* Try to release a second time */
|
/* Try to release a second time */
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
|
|
Loading…
Reference in New Issue