mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-22 18:50:37 +01:00
Make GoLinter happy
This commit is contained in:
parent
4b99a9e830
commit
975ebfc4b7
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ func TestMsgWriter_Write(t *testing.T) {
|
|||
t.Errorf("msgWriter Write() with brokenWriter should fail, but didn't")
|
||||
}
|
||||
|
||||
// Also test the part when a previous error happend
|
||||
// Also test the part when a previous error happened
|
||||
mw.err = fmt.Errorf("broken")
|
||||
_, err = mw.Write([]byte("test"))
|
||||
if err == nil {
|
||||
|
@ -92,7 +92,7 @@ func TestMsgWriter_writeMsg(t *testing.T) {
|
|||
ea = append(ea, "Message body")
|
||||
}
|
||||
if len(ea) > 0 {
|
||||
em := "writeMsg() failed. The following errors occured:\n"
|
||||
em := "writeMsg() failed. The following errors occurred:\n"
|
||||
for e := range ea {
|
||||
em += fmt.Sprintf("* incorrect %q field", ea[e])
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue