fix: update params in TestIsPingConnected

This commit is contained in:
dudaodong committed 2023-04-19 17:40:55 +08:00
1 parent e90283c3f9
commit 48c17ea1ce
2 files changed
+5 -5

No files matched your search

+2 -3
View File
@@ -180,14 +180,13 @@ func ExampleConvertMapToQueryString() {
}
func ExampleIsPingConnected() {
result1 := IsPingConnected("bing.com")
// result1 := IsPingConnected("bing.com")
result2 := IsPingConnected("www.!@#&&&.com")
fmt.Println(result1)
// fmt.Println(result1)
fmt.Println(result2)
// Output:
// true
// false
}