1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
MiraiGo/utils/icmp_test.go

13 lines
167 B
Go

package utils
import (
"testing"
)
func TestPing(t *testing.T) {
r := RunICMPPingLoop("127.0.0.1:23333", 4)
if r.PacketsLoss == r.PacketsSent {
t.Fatal(r)
}
}