Juan Lang : crypt32: Add index of failing test to output.

Alexandre Julliard julliard at winehq.org
Fri Jan 30 07:58:17 CST 2009


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Jan 29 16:53:56 2009 -0800

crypt32: Add index of failing test to output.

---

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

diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index cf5a9d6..5c681b6 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -1984,10 +1984,10 @@ static void test_encodeBits(DWORD dwEncoding)
         if (buf)
         {
             ok(bufSize == bits[i].encoded[1] + 2,
-             "Got unexpected size %d, expected %d\n", bufSize,
+             "%d: Got unexpected size %d, expected %d\n", i, bufSize,
              bits[i].encoded[1] + 2);
             ok(!memcmp(buf, bits[i].encoded, bits[i].encoded[1] + 2),
-             "Unexpected value\n");
+             "%d: Unexpected value\n", i);
             LocalFree(buf);
         }
     }




More information about the wine-cvs mailing list