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
b815548c
Commit
b815548c
authored
Apr 03, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Don't test function directly when reporting GetLastError().
parent
a5d61eef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
locale.c
dlls/msvcrt/tests/locale.c
+3
-2
No files found.
dlls/msvcrt/tests/locale.c
View file @
b815548c
...
...
@@ -713,8 +713,9 @@ static void test__Gettnames(void)
ok
(
!
strcmp
(
ret
->
str
[
39
],
"PM"
),
"ret->str[39] = %s
\n
"
,
ret
->
str
[
39
]);
ok
(
!
strcmp
(
ret
->
str
[
40
],
"M/d/yyyy"
)
||
broken
(
!
strcmp
(
ret
->
str
[
40
],
"M/d/yy"
))
/*NT*/
,
"ret->str[40] = %s
\n
"
,
ret
->
str
[
40
]);
ok
(
GetLocaleInfoA
(
MAKELCID
(
LANG_ENGLISH
,
SORT_DEFAULT
),
LOCALE_SLONGDATE
|
LOCALE_NOUSEROVERRIDE
,
buf
,
sizeof
(
buf
))
!=
0
,
"GetLocaleInfo failed: %x
\n
"
,
GetLastError
());
size
=
GetLocaleInfoA
(
MAKELCID
(
LANG_ENGLISH
,
SORT_DEFAULT
),
LOCALE_SLONGDATE
|
LOCALE_NOUSEROVERRIDE
,
buf
,
sizeof
(
buf
));
ok
(
size
,
"GetLocaleInfo failed: %x
\n
"
,
GetLastError
());
ok
(
!
strcmp
(
ret
->
str
[
41
],
buf
),
"ret->str[41] = %s, expected %s
\n
"
,
ret
->
str
[
41
],
buf
);
free
(
ret
);
...
...
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