(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestPrepareAPIURL_Http(t *testing.T) { |
| 19 | url, err := prepareAPIURL(nil, "http://localhost:81") |
| 20 | require.NoError(t, err) |
| 21 | assert.Equal(t, "http://localhost:81/", url.String()) |
| 22 | } |
| 23 | |
| 24 | func TestPrepareAPIURL_Https(t *testing.T) { |
| 25 | url, err := prepareAPIURL(nil, "https://localhost:81") |
nothing calls this directly
no test coverage detected
searching dependent graphs…