=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: urlmon/tests: Clarify ok() condition.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 27 05:36:36 CDT 2014


Module: wine
Branch: master
Commit: 2bb59197ace6776e03bbc014cabc8fd7b7360615
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2bb59197ace6776e03bbc014cabc8fd7b7360615

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sat Oct 25 16:35:31 2014 +0200

urlmon/tests: Clarify ok() condition.

---

 dlls/urlmon/tests/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index 5861127..3d10323 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -764,7 +764,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
         }
         IHttpNegotiate2_Release(http_negotiate2);
         ok(hres == E_FAIL, "GetRootSecurityId failed: %08x, expected E_FAIL\n", hres);
-        ok(size == no_callback ? 512 : 13, "size=%d\n", size);
+        ok(size == (no_callback ? 512 : 13), "size=%d\n", size);
 
         if(!no_callback) {
             SET_EXPECT(QueryService_IHttpSecurity);




More information about the wine-cvs mailing list