Module: wine Branch: master Commit: 192dbae55061a47392219511a6267b60b8a27be6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=192dbae55061a47392219511a6...
Author: James Hawkins jhawkins@codeweavers.com Date: Sun Jun 29 18:12:35 2008 -0500
oleaut32: Trace the failing VarCmp result.
---
dlls/oleaut32/tests/vartest.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index f2640cc..c3842bf 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -5411,8 +5411,8 @@ static void test_VarCat(void) V_BSTR(&expected) = SysAllocString(sz12_true); hres = VarCat(&left,&right,&result); ok(hres == S_OK, "VarCat failed with error 0x%08x\n", hres); - ok(VarCmp(&result,&expected,lcid,0) == VARCMP_EQ, - "VarCat: VT_INT concat with VT_BOOL (TRUE) returned incorrect result\n"); + hres = VarCmp(&result,&expected,lcid,0); + ok(hres == VARCMP_EQ, "Expected VARCMP_EQ, got %08x\n", hres);
VariantClear(&left); VariantClear(&right); @@ -5427,8 +5427,8 @@ static void test_VarCat(void) V_BSTR(&expected) = SysAllocString(sz12_false); hres = VarCat(&left,&right,&result); ok(hres == S_OK, "VarCat failed with error 0x%08x\n", hres); - ok(VarCmp(&result,&expected,lcid,0) == VARCMP_EQ, - "VarCat: VT_INT concat with VT_BOOL (FALSE) returned inncorrect result\n"); + hres = VarCmp(&result,&expected,lcid,0); + ok(hres == VARCMP_EQ, "Expected VARCMP_EQ, got %08x\n", hres);
VariantClear(&left); VariantClear(&right);