From b8ffcbc35b30d320a4f096ba5c105f0cc0632e96 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sat, 19 Apr 2008 22:06:10 -0500 Subject: [PATCH] inetcomm: Fix a test that fails on all systems. --- dlls/inetcomm/tests/mimeole.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dlls/inetcomm/tests/mimeole.c b/dlls/inetcomm/tests/mimeole.c index d286b749f52..bfa721e02c9 100644 --- a/dlls/inetcomm/tests/mimeole.c +++ b/dlls/inetcomm/tests/mimeole.c @@ -216,7 +216,6 @@ static void test_CreateMessage(void) ULONG count; FINDBODY find_struct; HCHARSET hcs; - INETCSETINFO csi; char text[] = "text"; HBODY *body_list; @@ -274,7 +273,10 @@ static void test_CreateMessage(void) hr = IMimeBody_GetCharset(body, &hcs); 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); @@ -309,9 +311,10 @@ static void test_CreateMessage(void) hr = IMimeMessage_GetCharset(body, &hcs); ok(hr == S_OK, "ret %08x\n", hr); - ok(hcs == NULL, "ret %p\n", hcs); - hr = MimeOleGetCharsetInfo(hcs, &csi); - ok(hr == E_INVALIDARG, "ret %08x\n", hr); + todo_wine + { + ok(hcs != NULL, "Expected non-NULL charset\n"); + } IMimeMessage_Release(msg); -- 2.11.4.GIT