Francois Gouget : crypt32/tests: Add a trailing '\n' to ok() calls.

Alexandre Julliard julliard at winehq.org
Wed Jun 23 10:57:03 CDT 2010


Module: wine
Branch: master
Commit: fea384cea4be337d9c86a3f5f57114d28c583c40
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fea384cea4be337d9c86a3f5f57114d28c583c40

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Jun 22 17:48:34 2010 +0200

crypt32/tests: Add a trailing '\n' to ok() calls.

---

 dlls/crypt32/tests/encode.c |    4 ++--
 dlls/crypt32/tests/store.c  |   10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index d60843a..cc59a59 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -7962,7 +7962,7 @@ static void testPortPublicKeyInfo(void)
      CRYPT_DELETEKEYSET);
     ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
      CRYPT_NEWKEYSET);
-    ok(ret,"CryptAcquireContextA failed");
+    ok(ret,"CryptAcquireContextA failed\n");
 
     testExportPublicKey(csp, &info);
     testImportPublicKey(csp, info);
@@ -7971,7 +7971,7 @@ static void testPortPublicKeyInfo(void)
     CryptReleaseContext(csp, 0);
     ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
      CRYPT_DELETEKEYSET);
-    ok(ret,"CryptAcquireContextA failed");
+    ok(ret,"CryptAcquireContextA failed\n");
 }
 
 START_TEST(encode)
diff --git a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c
index 3d55935..10a85a3 100644
--- a/dlls/crypt32/tests/store.c
+++ b/dlls/crypt32/tests/store.c
@@ -2228,7 +2228,7 @@ static void testAddCertificateLink(void)
     ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
     if (ret)
     {
-        ok(linked->hCertStore == store1, "unexpected store");
+        ok(linked->hCertStore == store1, "unexpected store\n");
         ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
         ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
          GetLastError());
@@ -2300,7 +2300,7 @@ static void testAddCertificateLink(void)
     ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
     if (ret)
     {
-        ok(linked->hCertStore == store2, "unexpected store");
+        ok(linked->hCertStore == store2, "unexpected store\n");
         ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
         ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
          GetLastError());
@@ -2360,7 +2360,7 @@ static void testAddCertificateLink(void)
     ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
     if (ret)
     {
-        ok(linked->hCertStore == store2, "unexpected store");
+        ok(linked->hCertStore == store2, "unexpected store\n");
         ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
         ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
          GetLastError());
@@ -2429,7 +2429,7 @@ static void testAddCertificateLink(void)
     ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
     if (ret)
     {
-        ok(linked->hCertStore == store2, "unexpected store");
+        ok(linked->hCertStore == store2, "unexpected store\n");
         ret = pCertControlStore(store2, 0, CERT_STORE_CTRL_COMMIT, NULL);
         ok(ret, "CertControlStore failed: %d\n", ret);
         compareStore(store2, "file store -> system store",
@@ -2452,7 +2452,7 @@ static void testAddCertificateLink(void)
     ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
     if (ret)
     {
-        ok(linked->hCertStore == store2, "unexpected store");
+        ok(linked->hCertStore == store2, "unexpected store\n");
         CertDeleteCertificateFromStore(linked);
     }
     CertCloseStore(store2, 0);




More information about the wine-cvs mailing list