- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestGetHostIP (0.18 seconds)
-
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}, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.2K bytes - Click Count (0)