mirror of
https://github.com/nikoksr/notify.git
synced 2025-07-17 01:43:05 +02:00
test(lint): ignore warning
This commit is contained in:
@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user