Dan Kegel : msxml3/tests: VT_EMPTY is not a string.

Alexandre Julliard julliard at winehq.org
Mon Jun 23 07:35:29 CDT 2008


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

Author: Dan Kegel <dank at kegel.com>
Date:   Sun Jun 22 23:00:45 2008 -0700

msxml3/tests: VT_EMPTY is not a string.

---

 dlls/msxml3/tests/xmlelem.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/tests/xmlelem.c b/dlls/msxml3/tests/xmlelem.c
index 71d9027..ab83329 100644
--- a/dlls/msxml3/tests/xmlelem.c
+++ b/dlls/msxml3/tests/xmlelem.c
@@ -80,7 +80,7 @@ static void test_xmlelem(void)
     hr = IXMLElement_getAttribute(element, str, &vValue);
     ok(hr == S_FALSE, "Expected S_FALSE, got %d\n", hr);
     ok(V_VT(&vValue) == VT_EMPTY, "Expected VT_EMPTY, got %d\n", V_VT(&vValue));
-    ok(lstrlenW(V_BSTR(&vValue)) == 0, "Expected empty value\n");
+    ok(V_BSTR(&vValue) == NULL, "Expected null value\n");
     VariantClear(&vValue);
     SysFreeString(str);
 
@@ -125,7 +125,7 @@ static void test_xmlelem(void)
     hr = IXMLElement_getAttribute(element, str, &vValue);
     ok(hr == 1, "Expected 1, got %d\n", hr);
     ok(V_VT(&vValue) == VT_EMPTY, "Expected VT_EMPTY, got %d\n", V_VT(&vValue));
-    ok(!lstrlenW(V_BSTR(&vValue)), "Expected empty value\n");
+    ok(V_BSTR(&vValue) == NULL, "Expected null value\n");
     SysFreeString(str);
     VariantClear(&vValue);
 




More information about the wine-cvs mailing list