MCPcopy
hub / github.com/runfinch/finch / TestExecCommandCreator_Create

Function TestExecCommandCreator_Create

pkg/command/exec_test.go:15–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

13var mockEnv = []string{"env=1"}
14
15func TestExecCommandCreator_Create(t *testing.T) {
16 t.Parallel()
17
18 got := NewExecCmdCreator().Create("")
19 assert.IsType(t, got, &execCmd{})
20}
21
22func TestExecCommand_SetEnv(t *testing.T) {
23 t.Parallel()

Callers

nothing calls this directly

Calls 2

NewExecCmdCreatorFunction · 0.85
CreateMethod · 0.65

Tested by

no test coverage detected