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
463850ba
Commit
463850ba
authored
Aug 27, 2021
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix ASCII / ANSI mixups in comments.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e87e24a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
format_msg.c
dlls/kernel32/tests/format_msg.c
+2
-2
process.c
dlls/kernel32/tests/process.c
+2
-2
profile.c
dlls/kernel32/tests/profile.c
+2
-2
No files found.
dlls/kernel32/tests/format_msg.c
View file @
463850ba
...
...
@@ -144,7 +144,7 @@ static void test_message_from_string_wide(void)
ok
(
!
lstrcmpW
(
L"test"
,
out
),
"failed out=%s
\n
"
,
wine_dbgstr_w
(
out
));
ok
(
r
==
4
,
"failed: r=%d
\n
"
,
r
);
/* S is a
sci
i */
/* S is a
ns
i */
r
=
doitW
(
FORMAT_MESSAGE_FROM_STRING
,
L"%1!S!"
,
0
,
0
,
out
,
ARRAY_SIZE
(
out
),
"test"
);
ok
(
!
lstrcmpW
(
L"test"
,
out
),
"failed out=%s
\n
"
,
wine_dbgstr_w
(
out
));
ok
(
r
==
4
,
"failed: r=%d
\n
"
,
r
);
...
...
@@ -417,7 +417,7 @@ static void test_message_from_string(void)
ok
(
!
strcmp
(
"test"
,
out
),
"failed out=[%s]
\n
"
,
out
);
ok
(
r
==
4
,
"failed: r=%d
\n
"
,
r
);
/* s is a
sci
i */
/* s is a
ns
i */
r
=
doit
(
FORMAT_MESSAGE_FROM_STRING
,
"%1!s!"
,
0
,
0
,
out
,
ARRAY_SIZE
(
out
),
"test"
);
ok
(
!
strcmp
(
"test"
,
out
),
"failed out=[%s]
\n
"
,
out
);
ok
(
r
==
4
,
"failed: r=%d
\n
"
,
r
);
...
...
dlls/kernel32/tests/process.c
View file @
463850ba
...
...
@@ -1952,9 +1952,9 @@ static void test_QueryFullProcessImageNameA(void)
expect_eq_d
(
4
,
size
);
expect_eq_s
(
INIT_STR
,
buf
);
/* this is a difference between the a
sci
i and the unicode version
/* this is a difference between the a
ns
i and the unicode version
* the unicode version crashes when the size is big enough to hold
* the result while the a
sci
i version throws an error
* the result while the a
ns
i version throws an error
*/
size
=
1024
;
expect_eq_d
(
FALSE
,
pQueryFullProcessImageNameA
(
GetCurrentProcess
(),
0
,
NULL
,
&
size
));
...
...
dlls/kernel32/tests/profile.c
View file @
463850ba
...
...
@@ -150,7 +150,7 @@ static void test_profile_string(void)
WriteFile
(
h
,
content2
,
sizeof
(
content2
),
&
count
,
NULL
);
CloseHandle
(
h
);
/* works only in unicode, a
sci
i crashes */
/* works only in unicode, a
ns
i crashes */
ret
=
GetPrivateProfileStringW
(
emptyW
,
keyW
,
emptyW
,
bufW
,
ARRAY_SIZE
(
bufW
),
TESTFILE2W
);
todo_wine
ok
(
ret
==
13
,
"expected 13, got %u
\n
"
,
ret
);
...
...
@@ -158,7 +158,7 @@ static void test_profile_string(void)
ok
(
!
lstrcmpW
(
valsectionW
,
bufW
),
"expected %s, got %s
\n
"
,
wine_dbgstr_w
(
valsectionW
),
wine_dbgstr_w
(
bufW
)
);
/* works only in unicode, a
sci
i crashes */
/* works only in unicode, a
ns
i crashes */
ret
=
GetPrivateProfileStringW
(
sW
,
emptyW
,
emptyW
,
bufW
,
ARRAY_SIZE
(
bufW
),
TESTFILE2W
);
ok
(
ret
==
10
,
"expected 10, got %u
\n
"
,
ret
);
ok
(
!
lstrcmpW
(
valnokeyW
,
bufW
),
"expected %s, got %s
\n
"
,
...
...
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