Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kaichaosun committed Aug 10, 2024
1 parent bba6f33 commit 5ae7195
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions waku/v2/api/publish/message_sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ func TestNewSenderWithUnknownMethod(t *testing.T) {

func TestNewSenderWithRelay(t *testing.T) {
_, relayNode := createRelayNode(t)
relayNode.Start(context.Background())
err := relayNode.Start(context.Background())
require.Nil(t, err)
defer relayNode.Stop()
sender, err := NewMessageSender(Relay, nil, relayNode, utils.Logger())
require.Nil(t, err)
Expand All @@ -68,7 +69,8 @@ func TestNewSenderWithRelay(t *testing.T) {

func TestNewSenderWithRelayAndMessageSentCheck(t *testing.T) {
_, relayNode := createRelayNode(t)
relayNode.Start(context.Background())
err := relayNode.Start(context.Background())
require.Nil(t, err)
defer relayNode.Stop()
sender, err := NewMessageSender(Relay, nil, relayNode, utils.Logger())

Expand Down

0 comments on commit 5ae7195

Please sign in to comment.