Skip to content
Snippets Groups Projects
Commit cc547444 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard
Browse files

windowscodecs/tests: Fix the expected values in some ok() messages.

parent 43923dec
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment