1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 15:12:26 +08:00

fix: fix IsPingConnected failed in windows

This commit is contained in:
dudaodong
2023-04-26 19:53:53 +08:00
parent 33c8875d14
commit 4888909208
2 changed files with 8 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ func TestIsPingConnected(t *testing.T) {
assert := internal.NewAssert(t, "TestIsPingConnected")
// in github action env, this will fail
// result1 := IsPingConnected("bing.com")
// result1 := IsPingConnected("www.baidu.com")
// assert.Equal(true, result1)
result2 := IsPingConnected("www.!@#&&&.com")