test: add message.Parse tests

This commit is contained in:
James Houlahan
2020-05-12 08:05:36 +02:00
parent 579e962980
commit e5d63edb62
35 changed files with 808 additions and 13 deletions

View File

@ -0,0 +1,18 @@
Content-Type: multipart/mixed; boundary=longrandomstring
From: Sender <sender@pm.me>
To: Receiver <receiver@pm.me>
This is a multi-part message in MIME format.
--longrandomstring
Content-Transfer-Encoding: base64
Content-Type: text/html
PGh0bWw+PGJvZHk+VGhpcyBpcyBib2R5IG9mIDxiPkhUTUwgbWFpbDwvYj4gd2l0aCBhdHRhY2htZW50PC9ib2R5PjwvaHRtbD4=
--longrandomstring
Content-Disposition: attachment
Content-Transfer-Encoding: base64
YXR0YWNobWVudA==
--longrandomstring--
.