Commit b8ffcbc3 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

inetcomm: Fix a test that fails on all systems.

parent 99d3e4c9
...@@ -216,7 +216,6 @@ static void test_CreateMessage(void) ...@@ -216,7 +216,6 @@ static void test_CreateMessage(void)
ULONG count; ULONG count;
FINDBODY find_struct; FINDBODY find_struct;
HCHARSET hcs; HCHARSET hcs;
INETCSETINFO csi;
char text[] = "text"; char text[] = "text";
HBODY *body_list; HBODY *body_list;
...@@ -274,7 +273,10 @@ static void test_CreateMessage(void) ...@@ -274,7 +273,10 @@ static void test_CreateMessage(void)
hr = IMimeBody_GetCharset(body, &hcs); hr = IMimeBody_GetCharset(body, &hcs);
ok(hr == S_OK, "ret %08x\n", hr); ok(hr == S_OK, "ret %08x\n", hr);
ok(hcs == NULL, "ret %p\n", hcs); todo_wine
{
ok(hcs != NULL, "Expected non-NULL charset\n");
}
IMimeBody_Release(body); IMimeBody_Release(body);
...@@ -309,9 +311,10 @@ static void test_CreateMessage(void) ...@@ -309,9 +311,10 @@ static void test_CreateMessage(void)
hr = IMimeMessage_GetCharset(body, &hcs); hr = IMimeMessage_GetCharset(body, &hcs);
ok(hr == S_OK, "ret %08x\n", hr); ok(hr == S_OK, "ret %08x\n", hr);
ok(hcs == NULL, "ret %p\n", hcs); todo_wine
hr = MimeOleGetCharsetInfo(hcs, &csi); {
ok(hr == E_INVALIDARG, "ret %08x\n", hr); ok(hcs != NULL, "Expected non-NULL charset\n");
}
IMimeMessage_Release(msg); IMimeMessage_Release(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment