Jacek Caban : crypt32/tests: Improved test failure message.
Alexandre Julliard
julliard at winehq.org
Wed Mar 12 15:23:43 CDT 2014
Module: wine
Branch: master
Commit: 3d09d1a9cb1db5bca846808b2e0ec94214017daa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d09d1a9cb1db5bca846808b2e0ec94214017daa
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Mar 12 11:24:52 2014 +0100
crypt32/tests: Improved test failure message.
---
dlls/crypt32/tests/chain.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index f69fbdc..bf02ca0 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -3880,9 +3880,8 @@ static void testGetCertChain(void)
ok(ret, "CertGetCertificateChain failed: %08x\n", GetLastError());
if (ret)
{
- ok(!(chain->TrustStatus.dwErrorStatus &
- CERT_TRUST_IS_NOT_VALID_FOR_USAGE),
- "didn't expect CERT_TRUST_IS_NOT_VALID_FOR_USAGE\n");
+ ok(!(chain->TrustStatus.dwErrorStatus & CERT_TRUST_IS_NOT_VALID_FOR_USAGE),
+ "didn't expect CERT_TRUST_IS_NOT_VALID_FOR_USAGE, got %x\n", chain->TrustStatus.dwErrorStatus);
pCertFreeCertificateChain(chain);
}
oids[1] = one_two_three;
More information about the wine-cvs
mailing list