Huw Davies : msxml3/tests: Don' t test the variant payload for the VT_EMPTY type.

Alexandre Julliard julliard at winehq.org
Tue May 13 14:23:46 CDT 2014


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue May 13 09:20:51 2014 +0100

msxml3/tests: Don't test the variant payload for the VT_EMPTY type.

---

 dlls/msxml3/tests/httpreq.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/msxml3/tests/httpreq.c b/dlls/msxml3/tests/httpreq.c
index b82de03..68de61e 100644
--- a/dlls/msxml3/tests/httpreq.c
+++ b/dlls/msxml3/tests/httpreq.c
@@ -1457,14 +1457,12 @@ static void test_XMLHTTP(void)
     hr = IXMLHttpRequest_get_responseBody(xhr, &varbody);
     EXPECT_HR(hr, E_PENDING);
     ok(V_VT(&varbody) == VT_EMPTY, "got type %d\n", V_VT(&varbody));
-    ok(V_I2(&varbody) == 1, "got %d\n", V_I2(&varbody));
 
     V_VT(&varbody) = VT_I2;
     V_I2(&varbody) = 1;
     hr = IXMLHttpRequest_get_responseStream(xhr, &varbody);
     EXPECT_HR(hr, E_PENDING);
     ok(V_VT(&varbody) == VT_EMPTY, "got type %d\n", V_VT(&varbody));
-    ok(V_I2(&varbody) == 1, "got %d\n", V_I2(&varbody));
 
     /* send before open */
     hr = IXMLHttpRequest_send(xhr, dummy);




More information about the wine-cvs mailing list