Add tests for consecutive attachment and embedding

Added tests for `AttachReader`, `AttachReadSeeker`, `EmbedReader`, and `EmbedReadSeeker` methods with consecutive `WriteTo` calls to ensure attachments are not lost. This addresses issue #110 on GitHub. Also, added tests for `SetBodyWriter` with a nil option and improved existing tests for `hasAlt` and `hasMixed` methods. This commit concludes the tests for msg.go. We have achieved the highest possible coverage.
This commit is contained in:
Winni Neessen 2024-10-28 19:47:00 +01:00
parent d0280ea9ad
commit 7bbcee7d48
Signed by: wneessen
GPG key ID: 385AC9889632126E

File diff suppressed because it is too large Load diff