[1/2] ws2_32/tests: IPv6 tests for WSAAddressToStringW
Alexandre Julliard
julliard at winehq.org
Thu Jul 16 09:22:56 CDT 2009
Jeff Latimer <lats at yless4u.com.au> writes:
> @@ -1542,7 +1556,103 @@ static void test_WSAAddressToStringW(void)
> ok( !ret, "WSAAddressToStringW() failed unexpectedly: %d\n", WSAGetLastError() );
>
> ok( !lstrcmpW( address, expect4 ), "Expected different address string\n" );
> - ok( len == sizeof( expect4 )/sizeof( WCHAR ), "Got size %d\n", len);
> + ok( len == sizeof( expect4 )/sizeof( WCHAR ), "Expected size to be %d, got %d\n", sizeof( expect4 )/sizeof( WCHAR ), len);
Please don't use sizeof in traces.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list