mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 05:40:50 +01:00
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:
parent
d0280ea9ad
commit
7bbcee7d48
1 changed files with 388 additions and 726 deletions
1056
msg_test.go
1056
msg_test.go
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue