=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: windowscodecs/tests: Fix the expected values in some ok() messages.
Alexandre Julliard
julliard at winehq.org
Tue Jun 5 14:46:54 CDT 2012
Module: wine
Branch: master
Commit: cc547444dfe8a8b1598cbfa1b0d8d360553621e6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc547444dfe8a8b1598cbfa1b0d8d360553621e6
Author: Józef Kucia <joseph.kucia at gmail.com>
Date: Tue Jun 5 13:21:12 2012 +0200
windowscodecs/tests: Fix the expected values in some ok() messages.
---
dlls/windowscodecs/tests/stream.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/tests/stream.c b/dlls/windowscodecs/tests/stream.c
index 0dbcddf..a3295e6 100644
--- a/dlls/windowscodecs/tests/stream.c
+++ b/dlls/windowscodecs/tests/stream.c
@@ -160,7 +160,7 @@ static void test_StreamOnMemory(void)
hr = IWICStream_Read(pStream, MemBuf, 12, &uBytesRead);
ok(hr == S_OK, "Read returned with %#x, expected %#x\n", hr, S_OK);
if(SUCCEEDED(hr)) {
- ok(uBytesRead == 12, "Read %u bytes, expected %u\n", uBytesRead, 3);
+ ok(uBytesRead == 12, "Read %u bytes, expected %u\n", uBytesRead, 12);
ok(memcmp(MemBuf, CmpMem, 12) == 0, "Read returned invalid data!\n");
/* check whether the seek pointer has moved correctly */
@@ -506,7 +506,7 @@ static void test_StreamOnStreamRange(void)
hr = IWICStream_Read(pSubStream, MemBuf, 12, &uBytesRead);
ok(hr == S_OK, "Read returned with %#x, expected %#x\n", hr, S_OK);
if(SUCCEEDED(hr)) {
- ok(uBytesRead == 12, "Read %u bytes, expected %u\n", uBytesRead, 3);
+ ok(uBytesRead == 12, "Read %u bytes, expected %u\n", uBytesRead, 12);
ok(memcmp(MemBuf, CmpMem+20, 12) == 0, "Read returned invalid data!\n");
/* check whether the seek pointer has moved correctly */
More information about the wine-cvs
mailing list