- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGetHostIP (0.04 sec)
-
cmd/net_test.go
if testCase.expectedIPList != nil && testCase.expectedIPList.Intersection(ipList).IsEmpty() { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } func TestGetHostIP(t *testing.T) { testCases := []struct { host string expectedIPList set.StringSet expectedErr error }{ {"localhost", set.CreateStringSet("127.0.0.1"), nil}, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0)