jhillyerd / enmime

MIME mail encoding and decoding package for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go test fails from master

tegk opened this issue · comments

What I did:
run go test

What I expected:
tests are passing

What I got:
--- FAIL: TestReadHeader (0.00s)
header_test.go:516: Stripped SID value
got : "",
want: "0",
input: "SID : 0\r\n"
header_test.go:516: Stripped Audio Mode value
got : "",
want: "None",
input: "Audio Mode : None\r\n"
header_test.go:516: Stripped Privilege value
got : "",
want: "127",
input: "Privilege : 127\r\n"
FAIL
exit status 1
FAIL github.com/jhillyerd/enmime 0.042s

Release or branch I am using:
master

commented

This is a known issue relating to a bug fix for the textproto package that was introduced in go v1.13.1 and backported to v1.12.10

We have a fix for this in the develop branch
See merged pull request for details

would you consider a hot-fix or what is your ETA? I am hesitant to use a library where the tests are not working.

New release has been cut