diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-all.mm | 6 |
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; } |