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

Function must

enterprise/coderd/workspaces_test.go:4421–4426  ·  view source on GitHub ↗
(value T, err error)

Source from the content-addressed store, hash-verified

4419}
4420
4421func must[T any](value T, err error) T {
4422 if err != nil {
4423 panic(err)
4424 }
4425 return value
4426}
4427
4428func TestUpdateWorkspaceACL(t *testing.T) {
4429 t.Parallel()

Callers 3

TestDynamicWorkspaceTagsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected