Re: [1/4] ws2_32/tests: Resend: IPv6 tests for WSAAddressToStringA

2009-04-27 Thread Detlef Riekenberg
On Mo, 2009-04-27 at 20:48 +1000, Jeff Latimer wrote: -ok( len == sizeof( expect4 ), Got size %d\n, len); +ok( len == sizeof( expect4 ), Expected size to be %d, got %d\n, sizeof( expect4 ), len); Do not use sizeof() in a test. +/*check to see it IPv6 is available */ +v6 =

Re: [1/4] ws2_32/tests: Resend: IPv6 tests for WSAAddressToStringA

2009-04-27 Thread Juan Lang
Hi Jeff, I just wanted to clarify one of Detlef's comments: -    ok( len == sizeof( expect4 ), Got size %d\n, len); +    ok( len == sizeof( expect4 ), Expected size to be %d, got %d\n, sizeof( expect4 ), len); Do not use sizeof() in a test. Using sizeof is okay, but printing the result of