aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-all.mm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-all.mm')
-rw-r--r--tests/test-all.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-all.mm b/tests/test-all.mm
index cfa37b66..2201d6d5 100644
--- a/tests/test-all.mm
+++ b/tests/test-all.mm
@@ -67,7 +67,13 @@ static mailcore::Data * testMessageBuilder()
MCLog("%s", data->bytes());
+ mailcore::MessageBuilder * msg2 = new mailcore::MessageBuilder(msg);
+ mailcore::String *htmlBody = msg->htmlBody();
+ mailcore::String *htmlBody2 = msg2->htmlBody();
+ MCAssert(htmlBody->isEqual(htmlBody2));
+
msg->release();
+ msg2->release();
return data;
}