- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestCheckLocalServerAddr (0.1 seconds)
-
cmd/net_test.go
apiEndpointSet := set.CreateStringSet(apiEndpoints...) if !apiEndpointSet.Contains(testCase.expectedResult) { t.Fatalf("test %d: expected: Found, got: Not Found", i+1) } } } func TestCheckLocalServerAddr(t *testing.T) { testCases := []struct { serverAddr string expectedErr error }{ {":54321", nil}, {"localhost:54321", nil}, {"0.0.0.0:9000", nil}, {":0", nil},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.2K bytes - Click Count (0)