Make GoLinter happy

This commit is contained in:
Winni Neessen 2022-03-21 10:17:26 +01:00
parent a6e36d57bc
commit c3298d7181
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -92,7 +92,7 @@ func TestMsgWriter_writeMsg(t *testing.T) {
ea = append(ea, "Message body") ea = append(ea, "Message body")
} }
if len(ea) > 0 { if len(ea) > 0 {
em := fmt.Sprint("writeMsg() failed. The following errors occured:\n") em := "writeMsg() failed. The following errors occured:\n"
for e := range ea { for e := range ea {
em += fmt.Sprintf("* incorrect %q field", ea[e]) em += fmt.Sprintf("* incorrect %q field", ea[e])
} }