From: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> --- dlls/msxml3/tests/domdoc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index 3f825ba83eb..8fc66c6de41 100644 --- a/dlls/msxml3/tests/domdoc.c +++ b/dlls/msxml3/tests/domdoc.c @@ -15113,7 +15113,8 @@ static void test_comment(void) hr = IXMLDOMComment_get_nodeValue(comment, &v); ok(hr == S_OK, "Unexpected hr %#lx.\n", hr ); - ok(!lstrcmpW(str, L"A \nCo\nmment\n & < \""), "Unexpected text %s.\n", debugstr_w(str)); + ok(V_VT(&v) == VT_BSTR, "Unexpected type %d.\n", V_VT(&v)); + ok(!lstrcmpW(V_BSTR(&v), L"A \nCo\nmment\n & < \""), "Unexpected value %s.\n", debugstr_w(V_BSTR(&v))); VariantClear(&v); hr = IXMLDOMComment_put_nodeValue(comment, _variantbstr_("comment --> a")); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10706