(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestPrepareAPIURL_Https(t *testing.T) { |
| 25 | url, err := prepareAPIURL(nil, "https://localhost:81") |
| 26 | require.NoError(t, err) |
| 27 | assert.Equal(t, "https://localhost:81/", url.String()) |
| 28 | } |
| 29 | |
| 30 | func TestPrepareAPIURL_UnixSocket(t *testing.T) { |
| 31 | url, err := prepareAPIURL(nil, "/path/socket") |
nothing calls this directly
no test coverage detected
searching dependent graphs…