- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestIsHostIP (0.04 seconds)
-
cmd/net_test.go
if err.Error() != testCase.expectedErr.Error() { t.Errorf("failed with different error, expected: '%v', found:'%v'.", testCase.expectedErr, err) } } }) } } func TestIsHostIP(t *testing.T) { testCases := []struct { args string expectedResult bool }{ {"localhost", false}, {"localhost:9000", false}, {"example.com", false}, {"http://192.168.1.0", false},
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)