MCPcopy Index your code
hub / github.com/smallstep/cli / TestCLIContextFromContextPanics

Function TestCLIContextFromContextPanics

internal/command/inject_test.go:21–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19}
20
21func TestCLIContextFromContextPanics(t *testing.T) {
22 t.Parallel()
23
24 assert.Panics(t, func() { CLIContextFromContext(context.Background()) })
25}
26
27func TestInjectContext(t *testing.T) {
28 t.Parallel()

Callers

nothing calls this directly

Calls 1

CLIContextFromContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…