Module: wine Branch: master Commit: 75cbc88ebc91aa96f6abd4c0e1f49897904df74b URL: https://source.winehq.org/git/wine.git/?a=commit;h=75cbc88ebc91aa96f6abd4c0e...
Author: Francois Gouget fgouget@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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);