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

jhillyerd / enmime / 31559924821
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: fix-empty-body-header-separator
DEFAULT BRANCH: main
Ran 12 Aug 2026 03:23AM 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 03:22AM UTC coverage: 86.576% (+0.01%) from 86.563%
31559924821

Pull #410

github

hdimer
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
Pull Request #410: Close the header section when a part has an empty body

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.25.x - 31559924821.1 12 Aug 2026 03:23AM UTC 39
86.58
GitHub Action Run
2 Go-1.26.x - 31559924821.2 12 Aug 2026 03:23AM UTC 39
86.58
GitHub Action Run
Source Files on build 31559924821
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #410
  • PR Base - 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