windowscodecs/tests: Fix the expected values in some ok() messages.
Józef Kucia
joseph.kucia at gmail.com
Tue Jun 5 06:21:12 CDT 2012
---
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 */
--
1.7.8.6
More information about the wine-patches
mailing list