(t *testing.T, urls []string)
| 30 | } |
| 31 | |
| 32 | func MustNewURLs(t *testing.T, urls []string) []url.URL { |
| 33 | t.Helper() |
| 34 | if urls == nil { |
| 35 | return nil |
| 36 | } |
| 37 | var us []url.URL |
| 38 | for _, url := range urls { |
| 39 | u := MustNewURL(t, url) |
| 40 | us = append(us, *u) |
| 41 | } |
| 42 | return us |
| 43 | } |
| 44 | |
| 45 | func MustNewURL(t *testing.T, s string) *url.URL { |
| 46 | t.Helper() |
nothing calls this directly
no test coverage detected
searching dependent graphs…