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

Function TestContextWithRunPanicsOnNil

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

Source from the content-addressed store, hash-verified

89}
90
91func TestContextWithRunPanicsOnNil(t *testing.T) {
92 t.Parallel()
93
94 require.Panics(t, func() {
95 _ = chatdebug.ContextWithRun(context.Background(), nil)
96 })
97}
98
99func TestContextWithStepPanicsOnNil(t *testing.T) {
100 t.Parallel()

Callers

nothing calls this directly

Calls 1

ContextWithRunFunction · 0.92

Tested by

no test coverage detected