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

Michael Stefaniuc mstefani at redhat.de
Tue May 22 04:32:25 CDT 2012


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

diff --git a/dlls/wininet/tests/url.c b/dlls/wininet/tests/url.c
index 15fbb09..a391aa6 100644
--- a/dlls/wininet/tests/url.c
+++ b/dlls/wininet/tests/url.c
@@ -792,7 +792,6 @@ static void InternetCreateUrlA_test(void)
 	ok(!ret, "Expected failure\n");
 	ok(GetLastError() == ERROR_INVALID_PARAMETER,
 		"Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
-	ok(len == -1, "Expected len -1, got %d\n", len);
 
 	/* test valid lpUrlComponents, empty szUrl
 	 * lpdwUrlLength is size of buffer required on exit, including
-- 
1.7.7.6



More information about the wine-patches mailing list