MCPcopy Index your code
hub / github.com/coder/coder / mustURL

Function mustURL

coderd/healthcheck/accessurl_test.go:162–167  ·  view source on GitHub ↗
(t testing.TB, s string)

Source from the content-addressed store, hash-verified

160}
161
162func mustURL(t testing.TB, s string) *url.URL {
163 t.Helper()
164 u, err := url.Parse(s)
165 require.NoError(t, err)
166 return u
167}

Callers 1

TestAccessURLFunction · 0.85

Calls 2

HelperMethod · 0.65
ParseMethod · 0.65

Tested by

no test coverage detected