mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
fix: fix IsPingConnected failed in windows
This commit is contained in:
1 parent
33c8875d14
commit
4888909208
2 files changed
+8
-2
No files matched your search
+1
-1
@@ -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