mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +01:00
#21: Fix ineffassign
for GoLinter
This commit is contained in:
parent
04ab595f9a
commit
e5abcb082d
1 changed files with 4 additions and 0 deletions
|
@ -325,6 +325,10 @@ func TestMsg_EnvelopeFrom(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
gs, err = m.GetSender(false)
|
gs, err = m.GetSender(false)
|
||||||
|
if err != nil {
|
||||||
|
t.Errorf("GetSender(true) failed: %s", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
if gs != a {
|
if gs != a {
|
||||||
t.Errorf("From() failed. Expected: %s, got: %s", a, gs)
|
t.Errorf("From() failed. Expected: %s, got: %s", a, gs)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue