Francois Gouget : oleaut32/tests: Report the error when VarParseNumFromStr() fails.
Alexandre Julliard
julliard at winehq.org
Tue Jul 20 15:11:04 CDT 2021
Module: wine
Branch: master
Commit: 75cbc88ebc91aa96f6abd4c0e1f49897904df74b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=75cbc88ebc91aa96f6abd4c0e1f49897904df74b
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Jul 20 13:59:22 2021 +0200
oleaut32/tests: Report the error when VarParseNumFromStr() fails.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/tests/vartest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 3f30eac5620..c4cc0074ffa 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -1288,6 +1288,7 @@ static HRESULT convert_str( const char *str, INT dig, ULONG flags,
static void expect_NumFromStr( int line, HRESULT hres, NUMPARSE *np, INT a, ULONG b, ULONG c,
INT d, INT e, INT f )
{
+ ok_(__FILE__,line)(hres == (HRESULT)S_OK, "returned %08x\n", hres);
if (hres == (HRESULT)S_OK)
{
ok_(__FILE__,line)(np->cDig == a, "Expected cDig = %d, got %d\n", a, np->cDig);
More information about the wine-cvs
mailing list