Commit d5068822 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

oleaut32/tests: Fix printing of an expected value.

parent 9d4c73f4
...@@ -2722,8 +2722,7 @@ static void test_VarSub(void) ...@@ -2722,8 +2722,7 @@ static void test_VarSub(void)
ok(hres == S_OK && V_VT(&result) == VT_DECIMAL, ok(hres == S_OK && V_VT(&result) == VT_DECIMAL,
"VarSub: expected coerced type VT_DECIMAL, got %s!\n", vtstr(V_VT(&result))); "VarSub: expected coerced type VT_DECIMAL, got %s!\n", vtstr(V_VT(&result)));
hres = VarR8FromDec(&V_DECIMAL(&result), &r); hres = VarR8FromDec(&V_DECIMAL(&result), &r);
ok(hres == S_OK && EQ_DOUBLE(r, -6.8), ok(hres == S_OK && EQ_DOUBLE(r, -6.8), "VarSub: DECIMAL value %f, expected %f\n", r, -6.8);
"VarSub: DECIMAL value %f, expected %f\n", r, (double)-15.2);
SysFreeString(lbstr); SysFreeString(lbstr);
SysFreeString(rbstr); SysFreeString(rbstr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment