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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Aug 19 16:00:06 CDT 2014


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Aug 19 00:25:49 2014 +0200

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

---

 dlls/rsaenh/tests/rsaenh.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 41b51c1..5192c2f 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -1536,10 +1536,10 @@ static void test_rc2(void)
 
         dwLen = sizeof(dwKeyLen);
         result = CryptGetKeyParam(hKey, KP_KEYLEN, (BYTE *)&dwKeyLen, &dwLen, 0);
-        ok(result, "%08x", GetLastError());
+        ok(result, "%08x\n", GetLastError());
         ok(dwKeyLen == 56, "%d (%08x)\n", dwKeyLen, GetLastError());
         result = CryptGetKeyParam(hKey, KP_EFFECTIVE_KEYLEN, (BYTE *)&dwKeyLen, &dwLen, 0);
-        ok(result, "%08x", GetLastError());
+        ok(result, "%08x\n", GetLastError());
         ok(dwKeyLen == 56 || broken(dwKeyLen == 40), "%d (%08x)\n", dwKeyLen, GetLastError());
 
         dwKeyLen = 128;
@@ -1550,7 +1550,7 @@ static void test_rc2(void)
             dwKeyLen = 12345;
             ok(result, "expected success, got error 0x%08X\n", GetLastError());
             result = CryptGetKeyParam(hKey, KP_EFFECTIVE_KEYLEN, (BYTE *)&dwKeyLen, &dwLen, 0);
-            ok(result, "%08x", GetLastError());
+            ok(result, "%08x\n", GetLastError());
             ok(dwKeyLen == 128, "Expected 128, got %d\n", dwKeyLen);
         }
         else
@@ -1558,16 +1558,16 @@ static void test_rc2(void)
             ok(!result, "expected error\n");
             ok(GetLastError() == NTE_BAD_DATA, "Expected 0x80009005, got 0x%08X\n", GetLastError());
             result = CryptGetKeyParam(hKey, KP_EFFECTIVE_KEYLEN, (BYTE *)&dwKeyLen, &dwLen, 0);
-            ok(result, "%08x", GetLastError());
+            ok(result, "%08x\n", GetLastError());
             ok(dwKeyLen == 40, "Expected 40, got %d\n", dwKeyLen);
         }
 
         dwLen = sizeof(dwKeyLen);
         result = CryptGetKeyParam(hKey, KP_KEYLEN, (BYTE *)&dwKeyLen, &dwLen, 0);
-        ok(result, "%08x", GetLastError());
+        ok(result, "%08x\n", GetLastError());
         ok(dwKeyLen == 56, "%d (%08x)\n", dwKeyLen, GetLastError());
         result = CryptGetKeyParam(hKey, KP_EFFECTIVE_KEYLEN, (BYTE *)&dwKeyLen, &dwLen, 0);
-        ok(result, "%08x", GetLastError());
+        ok(result, "%08x\n", GetLastError());
         ok((!BASE_PROV && dwKeyLen == 128) || (BASE_PROV && dwKeyLen == 40),
            "%d (%08x)\n", dwKeyLen, GetLastError());
 




More information about the wine-cvs mailing list