Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d5068822
Commit
d5068822
authored
Feb 12, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix printing of an expected value.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9d4c73f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vartest.c
dlls/oleaut32/tests/vartest.c
+1
-2
No files found.
dlls/oleaut32/tests/vartest.c
View file @
d5068822
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment