forked from github/parsemail
Fixed TestParseMail
This commit is contained in:
parent
0b3f8fbd29
commit
331b118220
@ -248,7 +248,11 @@ So, "Hello".`,
|
||||
}
|
||||
|
||||
for index, td := range testData {
|
||||
e, err := Parse(strings.NewReader(td.mailData))
|
||||
m, err := mail.ReadMessage(strings.NewReader(td.mailData))
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
e, err := Parse(m)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user