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
ad40af14
Commit
ad40af14
authored
Dec 30, 2017
by
André Hentschel
Committed by
Alexandre Julliard
Jan 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm/tests: Don't test function directly when reporting GetLastError().
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a1da7dbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mimeole.c
dlls/inetcomm/tests/mimeole.c
+3
-1
No files found.
dlls/inetcomm/tests/mimeole.c
View file @
ad40af14
...
...
@@ -1416,6 +1416,7 @@ static void test_mhtml_protocol_binding(const mhtml_binding_test_t *test)
HRESULT
hres
;
HANDLE
file
;
DWORD
size
;
BOOL
ret
;
p
=
file_name
+
GetCurrentDirectoryA
(
sizeof
(
file_name
),
file_name
);
*
p
++
=
'\\'
;
...
...
@@ -1454,7 +1455,8 @@ static void test_mhtml_protocol_binding(const mhtml_binding_test_t *test)
CHECK_CALLED
(
ReportResult
);
IInternetProtocol_Release
(
protocol
);
ok
(
DeleteFileA
(
"winetest.mht"
),
"DeleteFile failed: %u
\n
"
,
GetLastError
());
ret
=
DeleteFileA
(
"winetest.mht"
);
ok
(
ret
,
"DeleteFile failed: %u
\n
"
,
GetLastError
());
}
static
const
struct
{
...
...
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