winhttp/tests: Remove wrong check for 'len'.

Michael Stefaniuc mstefani at redhat.de
Mon May 21 03:06:37 CDT 2012


The test checks for a NULL len argument.
---
 dlls/winhttp/tests/url.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/winhttp/tests/url.c b/dlls/winhttp/tests/url.c
index d447879..f0bd434 100644
--- a/dlls/winhttp/tests/url.c
+++ b/dlls/winhttp/tests/url.c
@@ -142,7 +142,6 @@ static void WinHttpCreateUrl_test( void )
     ret = WinHttpCreateUrl( &uc, 0, NULL, NULL );
     ok( !ret, "expected failure\n" );
     ok( GetLastError() == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got %u\n", GetLastError() );
-    ok( len == ~0u, "expected len ~0u got %u\n", len );
 
     /* valid components, NULL url */
     SetLastError( 0xdeadbeef );
-- 
1.7.7.6



More information about the wine-patches mailing list