- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIsHostIP (0.11 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)