mirror of
https://github.com/nikoksr/notify.git
synced 2025-03-27 21:39:18 +02:00
test(lint): ignore warning
This commit is contained in:
parent
1f8d183210
commit
d50bbdd656
@ -19,6 +19,7 @@ func TestNotifySend(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Nil context
|
// Nil context
|
||||||
|
//nolint:staticcheck
|
||||||
if err := n.Send(nil, "subject", "message"); err != nil {
|
if err := n.Send(nil, "subject", "message"); err != nil {
|
||||||
t.Errorf("Send() returned error: %v", err)
|
t.Errorf("Send() returned error: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user