fix: typo

This commit is contained in:
Richard Ramos 2021-11-06 09:22:23 -04:00
parent 08c5c2303e
commit a7c76d2af1
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)