Michael Stefaniuc : oleaut32/tests: Fix printing of an expected value.

Alexandre Julliard julliard at winehq.org
Wed Feb 13 15:30:40 CST 2019


Module: wine
Branch: master
Commit: d5068822664bb2ef7db8fed97b8f1a84b756a976
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d5068822664bb2ef7db8fed97b8f1a84b756a976

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Tue Feb 12 23:43:31 2019 +0100

oleaut32/tests: Fix printing of an expected value.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/oleaut32/tests/vartest.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index c00968e..f235a75 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -2722,8 +2722,7 @@ static void test_VarSub(void)
     ok(hres == S_OK && V_VT(&result) == VT_DECIMAL,
         "VarSub: expected coerced type VT_DECIMAL, got %s!\n", vtstr(V_VT(&result)));
     hres = VarR8FromDec(&V_DECIMAL(&result), &r);
-    ok(hres == S_OK && EQ_DOUBLE(r, -6.8),
-        "VarSub: DECIMAL value %f, expected %f\n", r, (double)-15.2);
+    ok(hres == S_OK && EQ_DOUBLE(r, -6.8), "VarSub: DECIMAL value %f, expected %f\n", r, -6.8);
 
     SysFreeString(lbstr);
     SysFreeString(rbstr);




More information about the wine-cvs mailing list