• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jhillyerd / enmime / 31622775533
87%

Build:
DEFAULT BRANCH: main
Ran 12 Aug 2026 05:28PM UTC
Jobs 2
Files 39
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Aug 2026 05:28PM UTC coverage: 86.576% (+0.01%) from 86.563%
31622775533

push

github

web-flow
Close the header section when a part has an empty body (#410)

* Close the header section when a part has an empty body

Part.Encode only wrote the empty line separating the header section from
the body when the part had content, so a message built with no body ended
after its last header line. Reading that back with net/textproto's
ReadMIMEHeader returns the headers along with io.EOF, because the header
section was terminated by end of input rather than by the empty line.

Write the separator for parts without children even when the body is
empty. Parts with children are unchanged: they already get that line from
the leading CRLF of the first boundary marker.

Fixes #196

* test: use require.NoError for the ReadMIMEHeader error check

testifylint's require-error rule: an error assertion that gates later
assertions should stop the test (require) rather than continue (assert).

5 of 5 new or added lines in 1 file covered. (100.0%)

3328 of 3844 relevant lines covered (86.58%)

4281.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.26.x - 31622775533.1 12 Aug 2026 05:28PM UTC 39
86.58
GitHub Action Run
2 Go-1.25.x - 31622775533.2 12 Aug 2026 05:28PM UTC 39
86.58
GitHub Action Run
Source Files on build 31622775533
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fcbaa8c6 on github
  • Prev Build on main (#31328812564)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc