- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIsHostIP (0.87 sec)
-
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},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0)