Module: wine Branch: refs/heads/master Commit: 735c43437683c36513c71a01b445ad5b1e444079 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=735c43437683c36513c71a01...
Author: Jacek Caban jacek@codeweavers.com Date: Fri May 12 18:54:54 2006 +0200
urlmon: Fix tests.
---
dlls/urlmon/tests/protocol.c | 2 +- dlls/urlmon/tests/url.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c index 7f39012..a82a73e 100644 --- a/dlls/urlmon/tests/protocol.c +++ b/dlls/urlmon/tests/protocol.c @@ -118,7 +118,7 @@ static HRESULT WINAPI HttpNegotiate_Begi
ok(!lstrcmpW(szURL, http_url), "szURL != http_url\n");
- ok(szHeaders == NULL, "szHeaders != NULL\n"); + ok(szHeaders != NULL, "szHeaders == NULL\n"); if(szHeaders) { static const WCHAR header[] = {'A','c','c','e','p','t','-','E','n','c','o','d','i','n','g',':', diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c index f97aad8..acf0f0a 100644 --- a/dlls/urlmon/tests/url.c +++ b/dlls/urlmon/tests/url.c @@ -753,7 +753,9 @@ START_TEST(url)
trace("about test...\n"); test_protocol = ABOUT_TEST; + CoInitialize(NULL); test_BindToStorage(); + CoUninitialize();
trace("emulated about test...\n"); emulate_protocol = TRUE;