From a7c76d2af1a1483bb5f1f890659c42fadb080ee7 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Sat, 6 Nov 2021 09:22:23 -0400 Subject: [PATCH] fix: typo --- waku/v2/protocol/filter/waku_filter_test.go | 4 ++-- waku/v2/protocol/lightpush/waku_lightpush_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/waku/v2/protocol/filter/waku_filter_test.go b/waku/v2/protocol/filter/waku_filter_test.go index ec0e52d5..6e28b012 100644 --- a/waku/v2/protocol/filter/waku_filter_test.go +++ b/waku/v2/protocol/filter/waku_filter_test.go @@ -48,10 +48,10 @@ func makeWakuFilter(t *testing.T) (*WakuFilter, host.Host) { // // Node1 and Node2 are peers // -// Node2 send a succesful message with topic A +// Node2 send a successful message with topic A // Node1 receive the message // -// Node2 send a succesful message with topic B +// Node2 send a successful message with topic B // Node1 doesn't receive the message func TestWakuFilter(t *testing.T) { ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) // Test can't exceed 10 seconds diff --git a/waku/v2/protocol/lightpush/waku_lightpush_test.go b/waku/v2/protocol/lightpush/waku_lightpush_test.go index 6ad82a23..a30e3415 100644 --- a/waku/v2/protocol/lightpush/waku_lightpush_test.go +++ b/waku/v2/protocol/lightpush/waku_lightpush_test.go @@ -41,7 +41,7 @@ func makeWakuRelay(t *testing.T, topic relay.Topic) (*relay.WakuRelay, *relay.Su // Client and Node 2 are peers // Node 3 will use lightpush request, sending the message to Node2 // -// Client send a succesful message using lightpush +// Client send a successful message using lightpush // Node2 receive the message and broadcast it // Node1 receive the message func TestWakuLightPush(t *testing.T) { @@ -103,7 +103,7 @@ func TestWakuLightPush(t *testing.T) { <-sub2.C }() - // Verifying succesful request + // Verifying successful request resp, err := client.request(ctx, req) require.NoError(t, err) require.True(t, resp.IsSuccess)