Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7d2eecd3
Commit
7d2eecd3
authored
Apr 27, 2022
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: The EUR abbreviation is not recognized as a currency.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cf33a13d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vartest.c
dlls/oleaut32/tests/vartest.c
+6
-0
No files found.
dlls/oleaut32/tests/vartest.c
View file @
7d2eecd3
...
...
@@ -2151,6 +2151,12 @@ static void test_VarParseNumFromStrFr(void)
EXPECT2
(
1
,
2
);
EXPECTRGB
(
2
,
FAILDIG
);
/* The three-letter Euro abbreviation is not allowed */
WCONVERT
(
L"12EUR"
,
NUMPRS_CURRENCY
);
EXPECT
(
2
,
NUMPRS_CURRENCY
,
0
,
2
,
0
,
0
);
EXPECT2
(
1
,
2
);
EXPECTRGB
(
2
,
FAILDIG
);
/* With flag and decimal flag, consumes decimal point and following digits */
WCONVERT
(
L"12,1
\x20ac
"
,
NUMPRS_CURRENCY
|
NUMPRS_DECIMAL
|
NUMPRS_USE_ALL
);
EXPECT
(
3
,
NUMPRS_CURRENCY
|
NUMPRS_DECIMAL
|
NUMPRS_USE_ALL
,
NUMPRS_CURRENCY
|
NUMPRS_DECIMAL
,
5
,
0
,
-
1
);
...
...
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