mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-22 10:40:39 +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
|
||||
}
|
||||
gs, err = m.GetSender(false)
|
||||
if err != nil {
|
||||
t.Errorf("GetSender(true) failed: %s", err)
|
||||
return
|
||||
}
|
||||
if gs != a {
|
||||
t.Errorf("From() failed. Expected: %s, got: %s", a, gs)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue