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

Function TestContextWithStepPanicsOnNil

coderd/x/chatd/chatdebug/context_test.go:99–105  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func TestContextWithStepPanicsOnNil(t *testing.T) {
100 t.Parallel()
101
102 require.Panics(t, func() {
103 _ = chatdebug.ContextWithStep(context.Background(), nil)
104 })
105}

Callers

nothing calls this directly

Calls 1

ContextWithStepFunction · 0.92

Tested by

no test coverage detected