Skip to content

Commit

Permalink
Add check for readBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
acb-mv committed Jul 19, 2024
1 parent 0748ecd commit 3a659ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WireGuardKitGo/ian_tunnel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func TestICMPRemotePing(t *testing.T) {
readBuff := make([]byte, 1024)
readBytes, err := receiver.Read(readBuff)
assert.Nil(t, err)

assert.Greater(t, readBytes, 0)
}

func TestICMPSanityCheckFromFirstPrinciples(t *testing.T) {
Expand Down

0 comments on commit 3a659ea

Please sign in to comment.