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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user