msxml3/tests: VT_EMPTY is not a string.

This commit is contained in:
Dan Kegel 2008-06-22 23:00:45 -07:00 committed by Alexandre Julliard
parent 98fba5e56a
commit 578870bc4d
1 changed files with 2 additions and 2 deletions

View File

@ -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);